Standard 24 of 30 · Performance, Security & Rendering
ARIA
Accessible Rich Internet Applications (WAI-ARIA)—attributes communicating dynamic UI states (aria-expanded, aria-current, aria-live) to assistive tech.
Reviewed
Engineering Purpose
Bridges semantic gaps for custom interactive widgets where native HTML alone cannot express dynamic state.
Browser & Search Relevance
Ensures interactive tabs, accordions, and live search regions remain usable without corrupting native semantics.
Correct Implementation Patterns
- First Rule of ARIA: prefer native <button> / <a> / <input>; add ARIA only for dynamic state
<button type="button" aria-expanded={isOpen} aria-controls="mobile-nav">Menu</button>Next.js App Router Considerations
- Keep aria-live="polite" regions on search result counts and form validation summaries.
Common Errors
- Adding role="button" to <div> without keyboard handlers
- Invalid or redundant ARIA roles
Testing Methods
- Accessibility tree snapshot and screen-reader state verification