role="search"
← Return to main list
This test case is designed to determine how role="search"
is 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
<div role="search">
<form action="#">
Test content
</form>
</div>
Assistive technologies
VoiceOver
- Chrome: Search. [Stop] Test content. [Stop] End of search.
- Firefox: Search. [Stop] Test content. [Stop] End of search.
- Safari: Search. [Stop] Test content. [Stop] End of search.
NVDA
- Chrome: Search landmark. Test content.
- Firefox: Search landmark. Test content.
- Edge: Search landmark. Test content.
JAWS
- Chrome: Test content. [Search role not announced]
- Firefox: Test content. [Search role not announced]
- Edge: Test content. [Search role not announced]
← Return to main list