Building an accessible modal, step by step

Part 2: Listening to the page

Native elements come with keyboard support and semantics for free. Most of our ARIA fixes were really "use a button instead of a div" fixes.

  • Tab through every new component
  • Use native elements before ARIA
  • Check contrast for every state
  • Write link text that makes sense out of context

Leave a comment

Your email address will not be published. Required fields are marked *