Exercises
This quiz explores how WAI-ARIA makes custom web interfaces understandable and operable for assistive technology users. Questions cover native HTML preferences, roles, accessible names, widget states, descriptions, live regions, keyboard interaction, navigation landmarks, tabs, accordions, and modal dialogs. You will also identify common accessibility mistakes and apply practical ARIA design patterns.
Answer the questions below and check the explanation for each answer.
0/14 answered
Auto audio on: the next questions will be read aloud when you click Continue.
Native elements such as button provide semantics, focus support, and keyboard behavior automatically. ARIA should supplement HTML when native elements cannot express the required interface.
aria-label supplies an accessible name when suitable visible text is unavailable. For example, an icon-only close button can use an aria-label of Close.
When the controlled accordion panel is visible, the trigger must expose aria-expanded="true". It should change to false when the panel is collapsed.
The alert role is intended for important, time-sensitive messages, such as a failed submission. Assistive technology generally announces an alert assertively.
Interactive elements inside a collapsed panel should not remain keyboard-focusable. Otherwise, users can move focus to controls they cannot see or meaningfully operate.
In a horizontal ARIA tab list, Right Arrow commonly moves focus to the next tab. Tab usually moves focus out of the tab list to the active panel or next focusable element.
For a button, aria-label normally overrides its text content in the accessible name calculation. Authors should ensure the accessible name remains consistent with the visible label.
aria-describedby references one or more elements that provide extra instructions or details. This description supplements the accessible name rather than replacing it.
aria-current="page" identifies the link representing the current page within a set of navigation links. It communicates the visual current-page state to assistive technology.
The none and presentation roles remove an element's semantic meaning from the accessibility tree when their use is allowed. They do not inherently hide content or disable behavior.
A polite live region asks assistive technology to announce updates at the next suitable opportunity. It does not automatically move focus or interrupt the current announcement.
aria-controls identifies the element or elements whose content or presence is controlled. It only exposes the relationship; JavaScript must still implement the behavior.
An accessible modal needs dialog semantics, a name, modal-state communication, and proper focus management. Focus should enter the dialog and remain within it until the dialog closes.
Native HTML is preferred because its semantics and interactions are built into browsers. Incorrect ARIA can reduce accessibility, so it should be added only when HTML alone cannot express the required interface.
Video Courses
recommended
Ideal for beginners
Ideal for beginners
recommended
Ideal for beginners
Ideal for beginners
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks