Frontend Developer
mediumweb-accessibility-aria
What is web accessibility and when should you use ARIA?
Answer
Web accessibility (a11y) ensures people with disabilities can use your site.
**Start with native HTML first:** buttons, links, form labels, headings, and landmark elements.
**Use ARIA when native semantics are not enough**, for example:
- Custom components (tabs, combobox, modal)
- Dynamic state announcements (`aria-live`)
**Rules of thumb:**
- Don’t add ARIA to elements that already have correct semantics.
- Ensure keyboard support (Tab, Enter/Space, Esc).
**Interview tip:** mention testing with keyboard-only navigation and a screen reader.
Related Topics
AccessibilityHTMLUX