A11y interview questions
Practice 22 questions on a11y. Each runs in a real in-browser editor with Jest tests and a worked, diagram-backed solution.
22 questions
- UI / FrameworksUI challenge4 variants
Progress Bar
EASYBuild a progress bar component that visualizes the percentage completion of an operation.
15 minAmazon · Dropbox · Google +3Practice - UI / FrameworksUI challenge4 variants
Toggle Switch
EASYBuild an on/off toggle switch that flips state on click and slides its knob to reflect it.
15 minPractice - UI / FrameworksUI challenge4 variants
Tooltip
EASYBuild a tooltip that shows on hover/focus of a trigger and hides on leave/blur.
15 minLinkedInPractice - JavaScriptCoding exercise
useFocus
EASYImplement a hook that exposes a ref plus a function to focus the attached element on demand.
15 minPractice - UI / FrameworksUI challenge4 variants
Accordion II
MEDIUMBuild an accordion component with the correct ARIA roles, states, and properties for screen readers.
25 minPremium questionAmazonPractice - UI / FrameworksUI challenge4 variants
Combobox
MEDIUMBuild an editable combobox that filters options as you type and supports full keyboard selection.
25 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Command Palette
MEDIUMBuild a keyboard-driven command palette with fuzzy search and arrow-key navigation.
25 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Date Picker
MEDIUMBuild a calendar date picker that renders a month grid, navigates between months, and selects a day.
25 minPractice - UI / FrameworksUI challenge4 variants
Dropdown Menu
MEDIUMBuild an accessible action menu with keyboard focus, selection, Escape, and outside-click dismissal.
25 minPractice - UI / FrameworksUI challenge4 variants
File Explorer II
MEDIUMBuild a file explorer that exposes the correct ARIA tree roles, states, and properties for assistive tech.
25 minAmazon · Atlassian · Snap +1Practice - UI / FrameworksUI challenge4 variants
Modal Dialog II
MEDIUMBuild a modal dialog with the correct ARIA roles, states, and properties for assistive technology.
25 minPremium questionAmazon · TikTokPractice - UI / FrameworksUI challenge4 variants
Modal Dialog III
MEDIUMBuild a modal dialog that closes via the close button, backdrop click, and the Escape key.
25 minPremium questionAmazon · TikTokPractice - UI / FrameworksUI challenge4 variants
Star Rating
MEDIUMBuild an interactive star rating with hover preview and half-star support.
25 minPractice - UI / FrameworksUI challenge4 variants
Tabs II
MEDIUMBuild a tabs component with the correct ARIA roles, states, and properties for assistive tech.
25 minPremium questionAirbnb · AmazonPractice - JavaScriptCoding exercise
useFocusTrap
MEDIUMImplement a hook that traps keyboard focus inside a container while it is active and restores it on release.
25 minPractice - JavaScriptCoding exercise
useFocusWithin
MEDIUMImplement a hook that reports whether keyboard focus is anywhere inside a container, without flickering as focus moves between children.
25 minPractice - JavaScriptCoding exercise
usePrefersReducedMotion
MEDIUMImplement a hook that tracks the system reduced-motion accessibility preference through matchMedia and updates when it changes.
25 minPractice - JavaScriptCoding exercise
useRovingTabIndex
MEDIUMImplement a hook that gives a widget arrow-key navigation, keeping exactly one item in the tab order at a time.
25 minPractice - UI / FrameworksUI challenge4 variants
Accordion III
HARDBuild a fully accessible accordion with keyboard navigation per the ARIA authoring practices guide.
40 minAmazonPractice - UI / FrameworksUI challenge4 variants
Autocomplete III
HARDBuild a production autocomplete with async fetch, debounce, keyboard navigation, caching, and match highlighting.
40 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Modal Dialog IV
HARDBuild a fully accessible modal dialog with focus trapping, focus restoration, and keyboard support.
40 minPremium questionAmazon · TikTokPractice - UI / FrameworksUI challenge4 variants
Tabs III
HARDBuild a fully accessible tabs component with arrow-key navigation per the ARIA authoring guide.
40 minAirbnb · AmazonPractice