<header>
with aria-label
← Return to main list
This test case is designed to determine how the <header>
element and an associated aria-label are announced by various screen readers.
In this case, the element should be announced as a banner
landmark.
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
<header aria-label="Site info">
<h4>Test content</h4>
</header>
Assistive technologies
VoiceOver
- Chrome: Site info. Banner. [Stop] Heading level 4. Test content. [Stop]. End of Site info. Banner.
- Firefox: Site info. Banner. [Stop] Heading level 4. Test content. [Stop]. End of Site info. Banner.
- Safari: Site info. Banner. [Stop] Heading level 4. Test content. [Stop]. End of Site info. Banner.
NVDA
- Chrome: Site info. Banner landmark. Heading level 4. Test content.
- Firefox: Site info. Banner landmark. Heading level 4. Test content.
- Edge: Site info. Banner landmark. Heading level 4. Test content.
JAWS
- Chrome: Heading level 4. Test content. [Banner not announced]
- Firefox: Heading level 4. Test content. [Banner not announced]
- Edge: Heading level 4. Test content. [Banner not announced]
← Return to main list