role="banner"

Return to main list

This test case is designed to determine how role="banner" is 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:

Example

Code

<div role="banner">
  <h4>Test content</h4>
</div>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list