Skip to content

Commit

Permalink
Regression Test support: Updates to menubar-2 data-test-id (pull #782)
Browse files Browse the repository at this point in the history
Fixes duplicate data-test-id values used by regression test scripts for the menubar2.html tests.
  • Loading branch information
spectranaut authored and mcking65 committed Jul 17, 2018
1 parent 1819d3c commit d889c4c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/menubar/menubar-2/menubar-2.html
Expand Up @@ -386,7 +386,7 @@ <h3 id="rps1_label">Menubar</h3>
</ul>
</td>
</tr>
<tr data-test-id="menuitem-role">
<tr data-test-id="menubar-menuitem-role">
<th scope="row">
<code>menuitem</code>
</th>
Expand All @@ -401,7 +401,7 @@ <h3 id="rps1_label">Menubar</h3>
</ul>
</td>
</tr>
<tr data-test-id="menuitem-tabindex">
<tr data-test-id="menubar-menuitem-tabindex">
<td></td>
<th scope="row">
<code>tabindex=&quot;-1&quot;</code>
Expand All @@ -414,7 +414,7 @@ <h3 id="rps1_label">Menubar</h3>
<strong>not</strong> part of the <kbd>Tab</kbd> sequence of the page.
</td>
</tr>
<tr data-test-id="menuitem-tabindex">
<tr data-test-id="menubar-menuitem-tabindex">
<td></td>
<th scope="row">
<code>tabindex=&quot;0&quot;</code>
Expand All @@ -440,7 +440,7 @@ <h3 id="rps1_label">Menubar</h3>
</ul>
</td>
</tr>
<tr data-test-id="menuitem-aria-haspopup">
<tr data-test-id="menubar-menuitem-aria-haspopup">
<td></td>
<th scope="row">
<code>aria-haspopup=&quot;true&quot;</code>
Expand All @@ -452,7 +452,7 @@ <h3 id="rps1_label">Menubar</h3>
Indicates that the <code>menuitem</code> has a submenu.
</td>
</tr>
<tr data-test-id="menuitem-aria-expanded">
<tr data-test-id="menubar-menuitem-aria-expanded">
<td></td>
<th scope="row">
<code>aria-expanded=&quot;true&quot;</code>
Expand All @@ -462,7 +462,7 @@ <h3 id="rps1_label">Menubar</h3>
</td>
<td>Indicates the menu is open.</td>
</tr>
<tr data-test-id="menuitem-aria-expanded">
<tr data-test-id="menubar-menuitem-aria-expanded">
<td></td>
<th scope="row">
<code>aria-expanded=&quot;false&quot;</code>
Expand Down Expand Up @@ -516,7 +516,7 @@ <h3 id="rps2_label">Submenu</h3>
Defines an acessible name for the <code>menu</code>.
</td>
</tr>
<tr data-test-id="menuitem-role">
<tr data-test-id="submenu-menuitem-role">
<th scope="row">
<code>menuitem</code>
</th>
Expand All @@ -531,7 +531,7 @@ <h3 id="rps2_label">Submenu</h3>
</ul>
</td>
</tr>
<tr data-test-id="menuitem-tabindex">
<tr data-test-id="submenu-menuitem-tabindex">
<td></td>
<th scope="row">
<code>tabindex=&quot;-1&quot;</code>
Expand All @@ -543,7 +543,7 @@ <h3 id="rps2_label">Submenu</h3>
Makes the item focusable but <strong>not</strong> part of the page <kbd>tab</kbd> sequence.
</td>
</tr>
<tr data-test-id="menuitem-aria-disabled">
<tr data-test-id="submenu-menuitem-aria-disabled">
<td></td>
<th scope="row">
<code>aria-disabled=&quot;false&quot;</code>
Expand All @@ -555,7 +555,7 @@ <h3 id="rps2_label">Submenu</h3>
Used on the font size "Smaller" and "Larger" options to indicate they are active.
</td>
</tr>
<tr data-test-id="menuitem-aria-disabled">
<tr data-test-id="submenu-menuitem-aria-disabled">
<td></td>
<th scope="row">
<code>aria-disabled=&quot;true&quot;</code>
Expand Down

0 comments on commit d889c4c

Please sign in to comment.