<header> descendant of role="article"

Return to main list

This test case is designed to determine how the <header> element will be announced by various screen readers when it is a descendant of an element with role="article".

In this case, the element should be announced as a banner landmark, as it is scoped to the <body> element.

By default, the element being tested does not receive focus, so the only way to test how it is announced is via:

Example

Other content

Test content

Code

<div role="article">
  <h4>Other content</h4>
  <header>
    <h4>Test content</h4>
  </header>
</div>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list