Two <header>
elements
← Return to main list
This test case is designed to determine how two root-level <header>
elements 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>
<h4>Test content 1</h4>
</header>
<header>
<h4>Test content 2</h4>
</header>
Assistive technologies
VoiceOver
- Chrome:
Banner. [Stop] Heading level 4. Test content 1. [Stop]. End of Banner.
Banner. [Stop] Heading level 4. Test content 2. [Stop]. End of Banner.
- Firefox:
Banner. [Stop] Heading level 4. Test content 1. [Stop]. End of Banner.
Banner. [Stop] Heading level 4. Test content 2. [Stop]. End of Banner.
- Safari:
Banner. [Stop] Heading level 4. Test content 1. [Stop]. End of Banner.
Banner. [Stop] Heading level 4. Test content 2. [Stop]. End of Banner.
NVDA
- Chrome:
Banner landmark. Heading level 4. Test content 1.
Banner landmark. Heading level 4. Test content 2.
- Firefox:
Banner landmark. Heading level 4. Test content 1.
Banner landmark. Heading level 4. Test content 2.
- Edge:
Banner landmark. Heading level 4. Test content 1.
Banner landmark. Heading level 4. Test content 2.
JAWS
- Chrome:
Heading level 4. Test content 1. [Banner not announced]
Heading level 4. Test content 2. [Banner not announced]
- Firefox:
Heading level 4. Test content 1. [Banner not announced]
Heading level 4. Test content 2. [Banner not announced]
- Edge:
Heading level 4. Test content 1. [Banner not announced]
Heading level 4. Test content 2. [Banner not announced]
← Return to main list