Web platform · 11 concepts
Accessibility
Build components that work with a keyboard and a screen reader, and explain WCAG 2.2 and ARIA correctly.
Asked in these mock interviews
Part 1 · 3 concepts
Foundations
- 01
WCAG 2.2, its levels, and the laws that use it
WCAG 2.2 (W3C Recommendation, October 2023) is the standard most laws and audits use: it is organised by the POUR principles, has levels A, AA and AAA (AA is the usual…
- 02
Semantic HTML first: elements, landmarks and headings
Native HTML elements already carry the right role, keyboard behaviour and states (a <button> is focusable and works with Enter and Space), so use them first, structure…
- 03
ARIA rules and accessible names
ARIA only changes what assistive technology is told (role, name, state), never behaviour, so follow its rules (native first, do not break semantics, keep it…
Part 2 · 4 concepts
Keyboard, focus and widgets
- 04
Keyboard access, tab order and visible focus
Everything a mouse can do must work with a keyboard: Tab moves through interactive elements in DOM order, tabindex=0 adds an element to that order, tabindex=-1 makes it…
- 05
Focus management: modals, route changes and dynamic content
When the UI changes without a page load, you must move focus on purpose: into a dialog when it opens (and keep it there), back to the trigger when it closes, to the new…
- 06
Widget patterns from the ARIA APG: combobox, tabs, menu button, listbox
For custom widgets, follow the WAI-ARIA Authoring Practices Guide pattern exactly: the right roles and states plus the expected keyboard model, using roving tabindex…
- 07
Announcing dynamic changes with live regions
Content that changes without focus moving (search result counts, 'Added to cart', form errors after submit, toasts) is invisible to screen-reader users unless it is…
Part 3 · 2 concepts
Forms, colour and motion
- 08
Accessible forms: labels, hints, errors and autocomplete
Every form control needs a visible, programmatically linked label; hints and errors are linked with aria-describedby, invalid fields get aria-invalid, errors are shown…
- 09
Colour contrast, target size and reduced motion
Text needs a contrast ratio of at least 4.5:1 (3:1 for large text), UI parts and focus rings 3:1, information must not rely on colour alone, touch targets should be at…
Part 4 · 2 concepts
Accessibility in practice
- 10
Testing with screen readers and the keyboard
Automated tools catch only part of the problems, so you also test the way users work: a keyboard-only pass, a screen-reader pass with the common pairs (NVDA or JAWS…
- 11
Accessibility in React and React Native
React uses the same HTML and ARIA (with htmlFor, useId for ids, refs for focus) plus lint rules and accessible component libraries, while React Native maps props like…
Your first interview is free
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.