Skip to content

Commit 433fdf7

Browse files
patrickhlaukekfranqueirombgower
authored
Tweak G13, on-input understanding, F37 (#4291)
* in G13, as radio buttons/inputs would cause 2.1.1 Keyboard failures (as keyboard users are not able to explicitly select a radio button with the keyboard without triggering a change event, which would then lead to a form submission or page reload in these examples), changing the examples to a `select` and a set of toggle buttons * reformatting/cleanup of the markup for G13 * in on-input understanding, replacing the mention of radio buttons with a select dropdown as well, for clarity/consistency (in this case, even the radio button example would be fine, but it may confuse matters) * in F37, add an extra note explicitly mentioning that radio buttons will still fail 2.1.1 even *if* they included a warning that satisfies 3.2.2 Closes #898 --------- Co-authored-by: Kenneth G. Franqueiro <kfranqueiro@users.noreply.github.com> Co-authored-by: Mike Gower <mikegower@gmail.com>
1 parent a666a32 commit 433fdf7

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

techniques/failures/F37.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ <h3></h3>
5656
</ol>
5757
</section>
5858
<section class="results"><h3>Expected Results</h3>
59-
<p> If check #3 is false, then this failure condition applies and content
60-
fails the Success Criterion.</p>
59+
<p>If check #3 is false, then this failure condition applies and content fails the success criterion.</p>
6160
</section>
62-
</section><section id="related"><h2>Related Techniques</h2></section><section id="resources"><h2>Resources</h2></section></body></html>
61+
<div class="note">Note that in the case of a set of radio buttons, it will pass the requirements of 3.2.2 if an indication or warning is added stating that selecting a radio button will result in a change of context; however,
62+
this scenario would still likely fail 2.1.1 Keyboard, since it's not possible (in current user agents) for a user to
63+
navigate through a set of radio buttons with the keyboard without triggering a change event.
64+
</div>
65+
</section><section id="related"><h2>Related Techniques</h2></section><section id="resources"><h2>Resources</h2></section></body></html>

techniques/general/G13.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
</ul>
1717
</section><section id="examples"><h2>Examples</h2>
1818
<ul>
19-
<li>A series of radio buttons at the top of a page include
20-
options for German, French and Spanish. Instructions precede
21-
the buttons that instruct the user that the language will be
19+
<li>A select dropdown at the top of a page includes
20+
options for German, French and Spanish. Instructions preceding
21+
the dropdown instruct the user that the language will be
2222
changed upon selecting an option.</li>
23-
<li>A 50 question online survey displays one question at a time.
23+
<li>A 50-question online survey displays one question at a time,
24+
with each answer marked up as a toggle button.
2425
Instructions appear at the beginning of the survey that
2526
explain that users will be taken to the next question of the
2627
survey upon selecting an answer to each question.</li>
@@ -43,4 +44,4 @@
4344
<li><a href="../general/G80">G80</a></li>
4445
</ul></section><section id="resources"><h2>Resources</h2>
4546

46-
</section></body></html>
47+
</section></body></html>

understanding/20/on-input.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ <h2>Examples of On Input</h2>
102102
<ul>
103103

104104
<li>
105-
A form is provided for creating calendar entries in a web based calendaring and scheduling
106-
application. Along with the standard fields for subject, time and location, there
107-
is a set of radio buttons to select the type of calendar entry to create. The calendar
108-
entry type can be meeting, appointment or reminder. If the user selects the radio
109-
for meeting, additional fields are displayed on the page for entering the meeting
110-
participants. Different fields appear if the reminder button is chosen. Because only
111-
parts of the entry change and the overall structure remains the same the basic context
112-
remains for the user.
105+
A form is provided for creating calendar entries in a web-based calendaring and scheduling
106+
application. Along with the standard fields for subject, time and location,
107+
a select dropdown allows the user to choose the type of calendar entry to create. The calendar
108+
entry type can be meeting, appointment or reminder. If the user selects the
109+
meeting option, additional fields are displayed on the page for entering the meeting
110+
participants. Different fields appear if the reminder option is chosen. Because only
111+
parts of the entry change and the overall structure remains the same, the basic context
112+
remains for the user.
113113

114114
</li>
115115

0 commit comments

Comments
 (0)