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.

Example 1: Data table

Course schedule
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="&lt;!doctype html&gt;&lt;html lang=&quot;en&quot;&gt;&lt;body&gt;&lt;h1&gt;Intro to screen readers&lt;/h1&gt;&lt;p&gt;Video player (demo)&lt;/p&gt;&lt;button&gt;Play&lt;/button&gt; &lt;button&gt;Mute&lt;/button&gt; &lt;button&gt;Captions&lt;/button&gt;&lt;/body&gt;&lt;/html&gt;"></iframe>

Example 3: Embedded map

HTML markup
<iframe title="Map of Sydney" srcdoc="&lt;!doctype html&gt;&lt;html lang=&quot;en&quot;&gt;&lt;body&gt;&lt;h1&gt;Map of Sydney&lt;/h1&gt;&lt;p&gt;Map (demo)&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Town Hall&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Circular Quay&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;button&gt;Zoom in&lt;/button&gt; &lt;button&gt;Zoom out&lt;/button&gt;&lt;/body&gt;&lt;/html&gt;"></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.

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>