Skip to content

Commit

Permalink
Menubar Examples: Fix broken links (pull #1475)
Browse files Browse the repository at this point in the history
- removes ../ that is no longer needed after refactoring
- fixes 7 broken links in editor menubar example
- fixes 2 broken links in navigation menubar example

Co-authored-by: Matt King <[email protected]>
  • Loading branch information
carmacleod and mcking65 authored Aug 19, 2020
1 parent 2bc3dfa commit 6f4d05b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions examples/menubar/menubar-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@
<body>
<nav aria-label="Related Links" class="feedback">
<ul>
<li><a href="../../../#browser_and_AT_support">Browser and Assistive Technology Support</a></li>
<li><a href="../../#browser_and_AT_support">Browser and Assistive Technology Support</a></li>
<li><a href="https://github.com/w3c/aria-practices/issues/new">Report Issue</a></li>
<li><a href="https://github.com/w3c/aria-practices/projects/5">Related Issues</a></li>
<li><a href="../../../#menu">Design Pattern</a></li>
<li><a href="../../#menu">Design Pattern</a></li>
</ul>
</nav>
<main>
<h1>Editor Menubar Example</h1>
<p>
The following example demonstrates using the
<a href="../../../#menu">menubar design pattern</a>
<a href="../../#menu">menubar design pattern</a>
to provide access to sets of actions.
Each item in the below menubar identifies a category of text formatting actions that can be executed from its submenu.
The submenus also demonstrate <code>menuitemradio</code> and <code>menuitemcheckbox</code> elements.
Expand Down Expand Up @@ -371,7 +371,7 @@ <h3 id="rps1_label">Menubar</h3>
<td>
<ul>
<li>Identifies the element as a <code>menubar</code> container for a set of <code>menuitem</code> elements.</li>
<li>Is not focusable because focus is managed using <a href="../../../#kbd_roving_tabindex">roving tabindex.</a></li>
<li>Is not focusable because focus is managed using <a href="../../#kbd_roving_tabindex">roving tabindex.</a></li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -443,7 +443,7 @@ <h3 id="rps1_label">Menubar</h3>
When the page loads, the first item in the menubar has <code>tabindex=&quot;0&quot;</code>.
</li>
<li>
Focus is managed using <a href="../../../#kbd_roving_tabindex">roving tabindex</a>.
Focus is managed using <a href="../../#kbd_roving_tabindex">roving tabindex</a>.
</li>
</ul>
</td>
Expand Down Expand Up @@ -504,7 +504,7 @@ <h3 id="rps2_label">Submenu</h3>
<td>
<ul>
<li>Identifies the element as a menu container for a set of menu items.</li>
<li>Is not focusable because focus is managed using <a href="../../../#kbd_roving_tabindex">roving tabindex.</a></li>
<li>Is not focusable because focus is managed using <a href="../../#kbd_roving_tabindex">roving tabindex.</a></li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -815,7 +815,7 @@ <h2 id="sc1_label">HTML Source Code</h2>
</section>
</main>
<nav>
<a href="../../../#menu">Menu or Menubar Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
<a href="../../#menu">Menu or Menubar Design Pattern in WAI-ARIA Authoring Practices 1.2</a>
</nav>

</body>
Expand Down
4 changes: 2 additions & 2 deletions examples/menubar/menubar-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ <h3 id="rps1_label">Menubar</h3>
<td>
<ul>
<li>Identifies the element as a <code>menubar</code> container for a set of <code>menuitem</code> elements.</li>
<li>Is not focusable because focus is managed using <a href="../../../#kbd_roving_tabindex">roving tabindex.</a></li>
<li>Is not focusable because focus is managed using <a href="../../#kbd_roving_tabindex">roving tabindex.</a></li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -487,7 +487,7 @@ <h3 id="rps1_label">Menubar</h3>
<li>Includes the element in the <kbd>Tab</kbd> sequence.</li>
<li>Only one menubar item has <code>tabindex=&quot;0&quot;</code>.</li>
<li>On page load, the first menubar item has <code>tabindex=&quot;0&quot;</code>.</li>
<li>Focus is managed using <a href="../../../#kbd_roving_tabindex">roving tabindex</a>.</li>
<li>Focus is managed using <a href="../../#kbd_roving_tabindex">roving tabindex</a>.</li>
</ul>
</td>
</tr>
Expand Down

0 comments on commit 6f4d05b

Please sign in to comment.