Testing VoiceOver groups
VoiceOver may treat some parts of a page as groups. A group is a container that VoiceOver moves past as one item until you choose to go inside it. Whether something is treated as a group can depend on your browser and VoiceOver settings.
Move through each example and listen for whether VoiceOver treats it as one item. If it does, try entering and leaving it.
- To enter a group: press VO + Shift + Down Arrow (interact).
- To move through items inside a group: press VO + Right Arrow or VO + Left Arrow.
- To leave a group: press VO + Shift + Up Arrow (stop interacting).
Example 1: Data table
| Day | Topic | Trainer |
|---|---|---|
| Monday | Screen reader basics | Russ |
| Tuesday | Forms and errors | Mary |
| Wednesday | Dynamic content | Peter |
HTML markup
<table class="demo">
<caption>Course schedule</caption>
<thead>
<tr>
<th scope="col">Day</th>
<th scope="col">Topic</th>
<th scope="col">Trainer</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Monday</th>
<td>Screen reader basics</td>
<td>Russ</td>
</tr>
<tr>
<th scope="row">Tuesday</th>
<td>Forms and errors</td>
<td>Mary</td>
</tr>
<tr>
<th scope="row">Wednesday</th>
<td>Dynamic content</td>
<td>Peter</td>
</tr>
</tbody>
</table>
Example 2: Embedded video
HTML markup
<iframe title="Intro to screen readers video" srcdoc="<!doctype html><html lang="en"><body><h1>Intro to screen readers</h1><p>Video player (demo)</p><button>Play</button> <button>Mute</button> <button>Captions</button></body></html>"></iframe>
Example 3: Embedded map
HTML markup
<iframe title="Map of Sydney" srcdoc="<!doctype html><html lang="en"><body><h1>Map of Sydney</h1><p>Map (demo)</p><ul><li><a href="#">Town Hall</a></li><li><a href="#">Circular Quay</a></li></ul><button>Zoom in</button> <button>Zoom out</button></body></html>"></iframe>
Example 4: Toolbar
HTML markup
<div role="toolbar" aria-label="Text formatting">
<button type="button">Bold</button>
<button type="button">Italic</button>
<button type="button">Underline</button>
</div>
Example 5: Tab list
Tab one content: an overview of the course.
Tab two content: the course schedule.
Tab three content: links and resources.
HTML markup
<div role="tablist" aria-label="Course information">
<button role="tab" id="tab-one" aria-selected="true" aria-controls="panel-one">Overview</button>
<button role="tab" id="tab-two" aria-selected="false" aria-controls="panel-two" tabindex="-1">Schedule</button>
<button role="tab" id="tab-three" aria-selected="false" aria-controls="panel-three" tabindex="-1">Resources</button>
</div>
<div role="tabpanel" id="panel-one" aria-labelledby="tab-one">
<p>Tab one content: an overview of the course.</p>
</div>
<div role="tabpanel" id="panel-two" aria-labelledby="tab-two" hidden>
<p>Tab two content: the course schedule.</p>
</div>
<div role="tabpanel" id="panel-three" aria-labelledby="tab-three" hidden>
<p>Tab three content: links and resources.</p>
</div>