ARIA semantics classify elements by how users and assistive technologies should understand and interact with them. Roles make programmatic accessibility testable alongside visual behavior. section 10.1
Native elements expose useful roles automatically:
- An li element has the listitem role. section 10.1
- An a element has the link role. section 10.1
Testing a menu item
Render <MenuItem href="/blog" label="Blog" />, find the listitem and nested link by role, then verify the link’s href, title, and text content.



