<nav>
with aria-labelledby
← Return to main list
This test case is designed to determine how the <nav>
element and an associated aria-labelledby element are announced by various screen readers.
By default, the element being tested does not receive focus, so the only way to test how it is announced is via:
- VoiceOver: Announce next item: VO + Right Arrow
- NVDA and JAWS: Announce next line: DOWN ARROW
Example
Code
<nav aria-labelledby="one">
<h4 id="one">Test content</h4>
</nav>
Assistive technologies
VoiceOver
- Chrome: Test content. Navigation. [Stop] Heading level 4. Test content. [Stop] End of Test content. Navigation.
- Firefox: Test content. Navigation. [Stop] Heading level 4. Test content. [Stop] End of Test content. Navigation.
- Safari: Test content. Navigation. [Stop] Heading level 4. Test content. [Stop] End of Test content. Navigation.
NVDA
- Chrome: Navigation landmark. Heading level 4. Test content. [Label not announced]
- Firefox: Navigation landmark. Heading level 4. Test content. [Label not announced]
- Edge: Navigation landmark. Heading level 4. Test content. [Label not announced]
JAWS
- Chrome: Test content. Navigation region. [Stop] Heading level 4. Test content. [Stop] Test content. Navigation region ends.
- Firefox: Test content. Navigation region. [Stop] Heading level 4. Test content. [Stop] Test content. Navigation region ends.
- Edge: Test content. Navigation region. [Stop] Heading level 4. Test content. [Stop] Test content. Navigation region ends.
← Return to main list