EduFlow
Web Accessibility in Practice

Checkpoint: Keyboard, Focus and ARIA

Five questions on this section. Answer all of them, then see your score and why each answer is right or wrong.

Question 1 of 5

<div class="card" tabindex="0" onclick="openEvent()"> receives focus, but pressing Enter does nothing. Why?

Question 2 of 5

The booking dialog’s custom close button removes the dialog element from the DOM. Afterwards, keyboard focus jumps to the top of the page. What is the best fix?

Question 3 of 5

As the user types in Ticketly’s search box, a count such as “12 events found” updates. What is the best way to announce it?

Question 4 of 5

In a tablist, arrow keys move focus between tabs, but the panel only changes when the user presses Enter or Space. Is that a valid implementation of the APG tabs pattern?

Question 5 of 5

<button aria-controls="events-menu">Events</button> and <ul id="events-menu" aria-expanded="true">. NVDA never says “expanded” on the button. Why?

5 questions unanswered