Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add two notes/clarifications to 2.1.1/2.1.3 understanding #1642

Merged
merged 20 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
1750c36
Add two notes/clarifications to 2.1.1 understanding
patrickhlauke Feb 14, 2021
e60623a
Add same notes to keyboard-no-exception understanding
patrickhlauke Feb 14, 2021
efaacb6
Add example to 2.1.1 understanding for search form with mouse-only su…
patrickhlauke Oct 23, 2021
0ce48a3
Expand note further
patrickhlauke Oct 25, 2021
dc067a1
Merge branch 'patrickhlauke-understanding-keyboard-note' of https://g…
patrickhlauke Oct 25, 2021
358e4f5
Merge branch 'main' into patrickhlauke-understanding-keyboard-note
patrickhlauke Nov 17, 2023
e45c743
Update understanding/20/keyboard-no-exception.html
mbgower Dec 1, 2023
8f101d8
Update understanding/20/keyboard-no-exception.html
mbgower Dec 1, 2023
af59961
Update understanding/20/keyboard-no-exception.html
mbgower Dec 1, 2023
91e9f64
Update understanding/20/keyboard.html
mbgower Dec 1, 2023
25e4261
capitalise SC
patrickhlauke Dec 1, 2023
cf1365d
Expanded/reformatted the note
patrickhlauke Dec 28, 2023
39ceb46
Update understanding/20/keyboard-no-exception.html
patrickhlauke Jan 19, 2024
416918f
Update understanding/20/keyboard-no-exception.html
patrickhlauke Jan 19, 2024
62ee758
Update understanding/20/keyboard.html
patrickhlauke Jan 19, 2024
1c04ca4
Update understanding/20/keyboard.html
patrickhlauke Jan 19, 2024
9602cbd
Update keyboard-no-exception.html
detlevhfischer Feb 2, 2024
1f9b6cd
Clean up Detlev's "users of the keyboard interface" suggestion, for n…
patrickhlauke Feb 2, 2024
38cce8a
Change "passes" to "satisfies"
patrickhlauke Feb 2, 2024
32a7f42
Update understanding keyboard.html
chaals Feb 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions understanding/20/keyboard-no-exception.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,28 @@ <h2>Intent of Keyboard (No Exception)</h2>
Rather, it means that content that uses path-dependent input cannot conform to this
Success Criterion and therefore cannot meet Guideline 2.1 at Level AAA.
</p>

<div class="note">
<p>Platforms and user agents usually have conventions for how web content or applications
are controlled with a keyboard interface. As a best practice, content should follow
the platform/user agent conventions. However, deviating from these conventions does
not fail the normative requirement of this success criterion. For instance, buttons
that have focus can generally be activated using both the <kbd>Enter</kbd> key and
the <kbd>Space</kbd> bar. If a custom button control in a web application instead only
reacts to <kbd>Enter</kbd> (or even a completely custom key or key combination), this does <strong>not</strong> fail the Success Criterion.
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
</p>
</div>

<div class="note">
<p>This Success Criterion does not require that every visible control that can be activated
using a mouse or touch screen must also be focusable and actionable using the keyboard.
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
The normative requirement is only that there must be a way for keyboard users to perform
the same, or comparable, actions and to operate the content. Generally, the easiest way
to achieve this is to provide controls that can be operated with all possible input devices;
however, if a web application implements a completely separate mode of operation for keyboard
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
users, it will <strong>not</strong> fail the success criterion.
mbgower marked this conversation as resolved.
Show resolved Hide resolved
</p>
</div>

</section>

Expand Down
27 changes: 26 additions & 1 deletion understanding/20/keyboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,27 @@ <h2>Intent of Keyboard</h2>

</p>

<div class="note">
<p>Platforms and user agents usually have conventions for how web content or applications
are controlled with a keyboard interface. As a best practice, content should follow
the platform/user agent conventions. However, deviating from these conventions does
not fail the normative requirement of this success criterion. For instance, buttons
that have focus can generally be activated using both the <kbd>Enter</kbd> key and
the <kbd>Space</kbd> bar. If a custom button control in a web application instead only
reacts to <kbd>Enter</kbd> (or even a completely custom key or key combination), this does <strong>not</strong> fail the success criterion.
</p>
</div>

<div class="note">
<p>This success criterion does not require that every visible control that can be activated
mbgower marked this conversation as resolved.
Show resolved Hide resolved
using a mouse or touch screen must also be focusable and actionable using the keyboard.
The normative requirement is only that there must be a way for keyboard users to perform
the same, or comparable, actions and to operate the content. Generally, the easiest way
to achieve this is to provide controls that can be operated with all possible input devices;
however, if a web application implements a completely separate mode of operation for keyboard
users, it will <strong>not</strong> fail the success criterion.
</p>
</div>

</section>
<section id="benefits">
Expand Down Expand Up @@ -115,8 +136,12 @@ <h2>Examples of Keyboard</h2>
<dd>A PDA device that is usually operated via a stylus has an optional keyboard that can
be attached. The keyboard allows full Web browsing in standard fashion. The Web
content is operable because it was designed to work with keyboard-only access.</dd>
<dt>Example 7: Simple search form with mouse-operable submit button</dt>
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
<dd>A search form includes a text input field followed by a submit button. The submit button itself
has been coded so that it does <em>not</em> receive focus, and can only be activated using the mouse.
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
However, since keyboard users can submit the search by pressing <kbd>Enter</kbd> in the text input
after typing their search terms, the form passes this Success Criterion.</dd>
patrickhlauke marked this conversation as resolved.
Show resolved Hide resolved
</dl>

</section>

<section id="resources">
Expand Down