Skip to content

Commit

Permalink
Replace quote entity with quote character when inside code element
Browse files Browse the repository at this point in the history
  • Loading branch information
mcking65 committed Nov 28, 2023
1 parent 1d42435 commit b7e3f07
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ <h3 id="rps1_label">Menu Button</h3>
<tbody>
<tr data-test-id="button-aria-haspopup">
<td></td>
<th scope="row"><code>aria-haspopup=&quot;true&quot;</code></th>
<th scope="row"><code>aria-haspopup="true"</code></th>
<td>
<code>button</code>
</td>
Expand All @@ -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;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-controls="ID_REFERENCE"</code></th>
<td>
<code>button</code>
</td>
Expand All @@ -226,13 +226,13 @@ <h3 id="rps1_label">Menu Button</h3>
</tr>
<tr data-test-id="button-aria-expanded-false">
<td></td>
<th scope="row"><code>aria-expanded=&quot;false&quot;</code></th>
<th scope="row"><code>aria-expanded="false"</code></th>
<td><code>button</code></td>
<td>Indicates the menu is not displayed and that activating the menu button opens the menu.</td>
</tr>
<tr data-test-id="button-aria-expanded">
<td></td>
<th scope="row"><code>aria-expanded=&quot;true&quot;</code></th>
<th scope="row"><code>aria-expanded="true"</code></th>
<td><code>button</code></td>
<td>Indicates the menu is displayed and that activating the menu button closes the menu.</td>
</tr>
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;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-labelledby="ID_REFERENCE"</code></th>
<td>
<code>ul</code>
</td>
Expand All @@ -276,7 +276,7 @@ <h3 id="rps2_label">Menu</h3>
</tr>
<tr data-test-id="menu-tabindex">
<td></td>
<th scope="row"><code>tabindex=&quot;-1&quot;</code></th>
<th scope="row"><code>tabindex="-1"</code></th>
<td>
<code>ul</code>
</td>
Expand All @@ -293,7 +293,7 @@ <h3 id="rps2_label">Menu</h3>
</tr>
<tr data-test-id="menu-aria-activedescendant">
<td></td>
<th scope="row"><code>aria-activedescendant=&quot;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-activedescendant="ID_REFERENCE"</code></th>
<td>
<code>ul</code>
</td>
Expand Down
14 changes: 7 additions & 7 deletions content/patterns/menu-button/examples/menu-button-actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>About This Example</h2>
In this example, choosing an action from the menu will cause the chosen action to be displayed in the <q>Last Action</q> edit box.
</p>
<p>
In this implementation, each item in the menu is made focusable by setting <code>tabindex=&quot;-1&quot;</code> so the JavaScript can use <code>element.focus()</code> to set focus in response to events that trigger focus movement inside the menu.
In this implementation, each item in the menu is made focusable by setting <code>tabindex="-1"</code> so the JavaScript can use <code>element.focus()</code> to set focus in response to events that trigger focus movement inside the menu.
An alternative technique for managing focus movement among menu items is demonstrated in <a href="menu-button-actions-active-descendant.html">the action menu button example that uses aria-activedescendant.</a>
</p>
<p>Similar examples include:</p>
Expand Down Expand Up @@ -198,7 +198,7 @@ <h3 id="rps1_label">Menu Button</h3>
<tbody>
<tr data-test-id="menu-button-aria-haspopup">
<td></td>
<th scope="row"><code>aria-haspopup=&quot;true&quot;</code></th>
<th scope="row"><code>aria-haspopup="true"</code></th>
<td>
<code>button</code>
</td>
Expand All @@ -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;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-controls="ID_REFERENCE"</code></th>
<td>
<code>button</code>
</td>
Expand All @@ -227,13 +227,13 @@ <h3 id="rps1_label">Menu Button</h3>
</tr>
<tr data-test-id="button-aria-expanded-false">
<td></td>
<th scope="row"><code>aria-expanded=&quot;false&quot;</code></th>
<th scope="row"><code>aria-expanded="false"</code></th>
<td><code>button</code></td>
<td>Indicates the menu is not displayed and that activating the menu button opens the menu.</td>
</tr>
<tr data-test-id="menu-button-aria-expanded">
<td></td>
<th scope="row"><code>aria-expanded=&quot;true&quot;</code></th>
<th scope="row"><code>aria-expanded="true"</code></th>
<td><code>button</code></td>
<td>Indicates the menu is displayed and that activating the menu button closes the menu.</td>
</tr>
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;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-labelledby="ID_REFERENCE"</code></th>
<td>
<code>ul</code>
</td>
Expand Down Expand Up @@ -292,7 +292,7 @@ <h3 id="rps2_label">Menu</h3>
</tr>
<tr data-test-id="menuitem-tabindex">
<td></td>
<th scope="row"><code>tabindex=&quot;-1&quot;</code></th>
<th scope="row"><code>tabindex="-1"</code></th>
<td>
<code>li</code>
</td>
Expand Down
12 changes: 6 additions & 6 deletions content/patterns/menu-button/examples/menu-button-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h3 id="rps1_label">Menu Button</h3>
<tbody>
<tr data-test-id="button-aria-haspopup">
<td></td>
<th scope="row"><code>aria-haspopup=&quot;true&quot;</code></th>
<th scope="row"><code>aria-haspopup="true"</code></th>
<td>
<code>button</code>
</td>
Expand All @@ -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;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-controls="ID_REFERENCE"</code></th>
<td>
<code>button</code>
</td>
Expand All @@ -237,13 +237,13 @@ <h3 id="rps1_label">Menu Button</h3>
</tr>
<tr data-test-id="button-aria-expanded-false">
<td></td>
<th scope="row"><code>aria-expanded=&quot;false&quot;</code></th>
<th scope="row"><code>aria-expanded="false"</code></th>
<td><code>button</code></td>
<td>Indicates the menu is not displayed and that activating the menu button opens the menu.</td>
</tr>
<tr data-test-id="button-aria-expanded">
<td></td>
<th scope="row"><code>aria-expanded=&quot;true&quot;</code></th>
<th scope="row"><code>aria-expanded="true"</code></th>
<td><code>button</code></td>
<td>Indicates the menu is displayed and that activating the menu button closes the menu.</td>
</tr>
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;ID_REFERENCE&quot;</code></th>
<th scope="row"><code>aria-labelledby="ID_REFERENCE"</code></th>
<td>
<code>ul</code>
</td>
Expand Down Expand Up @@ -321,7 +321,7 @@ <h3 id="rps2_label">Menu</h3>
</tr>
<tr data-test-id="menuitem-tabindex">
<td></td>
<th scope="row"><code>tabindex=&quot;-1&quot;</code></th>
<th scope="row"><code>tabindex="-1"</code></th>
<td>
<code>a</code>
</td>
Expand Down

0 comments on commit b7e3f07

Please sign in to comment.