[go: up one dir, main page]

Skip to content

Commit

Permalink
Change aria-keyshortcuts initial keyword from Indicates to Defines. R…
Browse files Browse the repository at this point in the history
…esolves Issue #1625. (#1626)
  • Loading branch information
cookiecrook authored Jan 11, 2022
1 parent 65d309e commit 028bbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11917,7 +11917,7 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
<div class="property" id="aria-keyshortcuts">
<pdef>aria-keyshortcuts</pdef>
<div class="property-description">
<p><a>Indicates</a> keyboard shortcuts that an author has implemented to activate or give focus to an element.</p>
<p><a>Defines</a> keyboard shortcuts that an author has implemented to activate or give focus to an element.</p>
<p>The value of the <code>aria-keyshortcuts</code> attribute is a space-separated list of keyboard shortcuts that can be pressed to activate a command or textbox widget. The keys defined in the shortcuts represent the physical keys pressed and not the actual characters generated. Each keyboard shortcut consists of one or more tokens delimited by the plus sign ("+") representing zero or more modifier keys and exactly one non-modifier key that must be pressed simultaneously to activate the given shortcut.</p>
<p>Authors MUST specify modifier keys exactly according to the <a href="https://www.w3.org/TR/uievents-key/">UI Events KeyboardEvent key Values</a> spec [[!uievents-key]] - for example, "Alt", "Control", "Shift", "Meta", or "AltGraph". Note that Meta corresponds to the Command key, and Alt to the Option key, on Apple computers.</p>
<p>The valid names for non-modifier keys are any printable character such as "A", "B", "1", "2", "$", "Plus" for a plus sign, "Space" for the spacebar, or the names of any other non-modifier key specified in the <a href="https://www.w3.org/TR/uievents-key/">UI Events KeyboardEvent key Values</a> spec [[!uievents-key]] - for example, "Enter", "Tab", "ArrowRight", "PageDown", "Escape", or "F1". The use of "Space" for the spacebar is an exception to the <a href="https://www.w3.org/TR/uievents-key/">UI Events KeyboardEvent key Values</a> spec [[!uievents-key]] as the space or spacebar key is encoded as <code>'&#160;'</code> and would be treated as a whitespace character.</p>
Expand Down

0 comments on commit 028bbbb

Please sign in to comment.