Skip to content

Commit

Permalink
ARIA 1.0 Combobox without Autocomplete Example: keyboard corrections …
Browse files Browse the repository at this point in the history
…and add review issue link

For issue #99, modified examples/combobox/aria1.0pattern/combobox-autocomplete-none.html:
1. Replace link to issue 99 with link to new review issue 555.
2. Corrections to keyboard documentation.
3. Editorial revisions to keyboard documentation.
  • Loading branch information
mcking65 committed Nov 29, 2017
1 parent 98d02e2 commit fe18dab
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions examples/combobox/aria1.0pattern/combobox-autocomplete-none.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<main>
<h1>Legacy ARIA 1.0 Combobox without Autocomplete Example</h1>
<p>
<strong>NOTE:</strong> This page is work in progress. Please provide feedback in
<a href="https://github.com/w3c/aria-practices/issues/99">issue 99.</a>
<strong>NOTE:</strong> Please provide feedback on this example page in
<a href="https://github.com/w3c/aria-practices/issues/555">issue 555.</a>
</p>
<p>
The below combobox that enables users to choose a term from a hypothetical list of previously searched terms demonstrates the
Expand Down Expand Up @@ -79,7 +79,7 @@ <h2 id="ex_label">Example</h2>
<section>
<h2 id="kbd_label">Keyboard Support</h2>
<p>
The example comboboxes on this page implement the following keyboard interface.
The example combobox on this page implements the following keyboard interface.
Other variations and options for the keyboard interface are described in the
<a href="../../../#combobox_kbd_interaction">Keyboard Interaction section of the combobox design pattern.</a>
</p>
Expand All @@ -96,19 +96,17 @@ <h3 id="kbd_label_textbox">Textbox</h3>
<th><kbd>Down Arrow</kbd></th>
<td>
<ul>
<li>If the listbox is displayed. moves visual focus to the first suggested value.</li>
<li>If the listbox is not displayed, opens the listbox and moves visual focus to the first value.</li>
<li>In both cases DOM focus remains on the textbox.</li>
<li>First opens the listbox if it is not already displayed and then moves visual focus to the first option.</li>
<li>DOM focus remains on the textbox.</li>
</ul>
</td>
</tr>
<tr>
<th><kbd>Up Arrow</kbd></th>
<td>
<ul>
<li>If the listbox is displayed. moves visual focus to the last suggested value.</li>
<li>If the listbox is not displayed, opens the listbox and moves visual focus to the last value.</li>
<li>In both cases DOM focus remains on the textbox.</li>
<li>First opens the listbox if it is not already displayed and then moves visual focus to the last option.</li>
<li>DOM focus remains on the textbox.</li>
</ul>
</td>
</tr>
Expand All @@ -117,16 +115,7 @@ <h3 id="kbd_label_textbox">Textbox</h3>
<td>
<ul>
<li>Sets the textbox value to the content of the selected option.</li>
<li>Closes the listbox.</li>
</ul>
</td>
</tr>
<tr>
<th><kbd>Escape</kbd></th>
<td>
<ul>
<li>Clears the textbox.</li>
<li>If the listbox is displayed, closes it.</li>
<li>Closes the listbox if it is displayed.</li>
</ul>
</td>
</tr>
Expand Down

0 comments on commit fe18dab

Please sign in to comment.