Skip to content

Commit

Permalink
Replace IDREF with ID_REFERENCE in documentation per issue #1258
Browse files Browse the repository at this point in the history
  • Loading branch information
mcking65 committed Nov 28, 2023
1 parent 03f572d commit 1d42435
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ <h3 id="rps1_label">Menu Button</h3>
</tr>
<tr data-test-id="button-aria-controls">
<td></td>
<th scope="row"><code>aria-controls=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-controls=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>button</code>
</td>
Expand Down Expand Up @@ -263,7 +263,7 @@ <h3 id="rps2_label">Menu</h3>
<td>
<code></code>
</td>
<th scope="row"><code>aria-labelledby=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-labelledby=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>ul</code>
</td>
Expand Down Expand Up @@ -293,14 +293,14 @@ <h3 id="rps2_label">Menu</h3>
</tr>
<tr data-test-id="menu-aria-activedescendant">
<td></td>
<th scope="row"><code>aria-activedescendant=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-activedescendant=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>ul</code>
</td>
<td>
<ul>
<li>Refers to the descendant <code>menuitem</code> element that is visually indicated as focused.</li>
<li>The <code>IDREF</code> value is updated when keys that move the focus indicator among menu items are pressed.</li>
<li>The <code>ID_REFERENCE</code> value is updated when keys that move the focus indicator among menu items are pressed.</li>
<li>Enables assistive technologies to know which element the application regards as focused while DOM focus remains on the <code>ul</code> element with role <code>menu</code>.</li>
<li>
For more information about this focus management technique, see
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h3 id="rps1_label">Menu Button</h3>
</tr>
<tr data-test-id="menu-button-aria-controls">
<td></td>
<th scope="row"><code>aria-controls=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-controls=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>button</code>
</td>
Expand Down Expand Up @@ -264,7 +264,7 @@ <h3 id="rps2_label">Menu</h3>
<td>
<code></code>
</td>
<th scope="row"><code>aria-labelledby=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-labelledby=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>ul</code>
</td>
Expand Down
4 changes: 2 additions & 2 deletions content/patterns/menu-button/examples/menu-button-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h3 id="rps1_label">Menu Button</h3>
</tr>
<tr data-test-id="button-aria-controls">
<td></td>
<th scope="row"><code>aria-controls=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-controls=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>button</code>
</td>
Expand Down Expand Up @@ -276,7 +276,7 @@ <h3 id="rps2_label">Menu</h3>
<td>
<code></code>
</td>
<th scope="row"><code>aria-labelledby=&quot;IDREF&quot;</code></th>
<th scope="row"><code>aria-labelledby=&quot;ID_REFERENCE&quot;</code></th>
<td>
<code>ul</code>
</td>
Expand Down

0 comments on commit 1d42435

Please sign in to comment.