Skip to content

Commit

Permalink
updated menubar-editor's 'role, property, state and tabindex attribut…
Browse files Browse the repository at this point in the history
…es' table on the use of aria-hidden
  • Loading branch information
howard-e authored and mcking65 committed Nov 14, 2021
1 parent d12139f commit 0624fa1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ <h2 id="examples_by_props_label">Examples By Properties and States</h2>
<td>
<ul>
<li><a href="button/button_idl.html">Button (IDL Version)</a></li>
<li><a href="menubar/menubar-editor.html">Editor Menubar</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="slider/slider-color-viewer.html">Color Viewer Slider</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="slider/slider-multithumb.html">Horizontal Multi-Thumb Slider</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="slider/slider-rating.html">Rating Slider</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
Expand Down
36 changes: 36 additions & 0 deletions examples/menubar/menubar-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,18 @@ <h3 id="rps1_label">Menubar</h3>
</ul>
</td>
</tr>
<tr data-test-id="menubar-menuitem-aria-hidden">
<td></td>
<th scope="row">
<code>aria-hidden=&quot;true&quot;</code>
</th>
<td>
<code>span</code>
</td>
<td>
Removes the character entities for the expanded state of <code>menuitem</code> from the accessibility tree to prevent them from being included in the accessible name of the sort buttons.
</td>
</tr>
</tbody>
</table>
<h3 id="rps2_label">Submenu</h3>
Expand Down Expand Up @@ -646,6 +658,18 @@ <h3 id="rps2_label">Submenu</h3>
</ul>
</td>
</tr>
<tr data-test-id="menuitemcheckbox-aria-hidden">
<td></td>
<th scope="row">
<code>aria-hidden=&quot;true&quot;</code>
</th>
<td>
<code>span</code>
</td>
<td>
Removes the character entities for the checked state of <code>menuitemcheckbox</code> from the accessibility tree to prevent them from being included in the accessible name of the checked item.
</td>
</tr>
<tr data-test-id="separator-role">
<th scope="row">
<code>separator</code>
Expand Down Expand Up @@ -765,6 +789,18 @@ <h3 id="rps2_label">Submenu</h3>
</ul>
</td>
</tr>
<tr data-test-id="menuitemradio-aria-hidden">
<td></td>
<th scope="row">
<code>aria-hidden=&quot;true&quot;</code>
</th>
<td>
<code>span</code>
</td>
<td>
Removes the character entities for the checked state of <code>menuitemradio</code> from the accessibility tree to prevent them from being included in the accessible name of the checked item.
</td>
</tr>
</tbody>
</table>
<h3 id="rps3_label">Textarea</h3>
Expand Down

0 comments on commit 0624fa1

Please sign in to comment.