You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: understanding/20/use-of-color.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@
Intent of Use of Color
105
105
106
106
<p>Most user agents provide users with a color-only cue that a link has been previously activated by them ("visited"). However, several technical constraints result in authors having very limited control over these color-only indications of visited links. The technical constraints are as follows:p>
107
107
108
-
<ol>
108
+
<ul>
109
109
<li>
110
110
User agents constrain the exposure of a link's visited state due to <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector">privacy concernsa>. Author queries to user agents will indicate all links have not been visited.
111
111
li>
@@ -119,7 +119,7 @@
Intent of Use of Color
119
119
Authors also cannot set the visited state of links. The anchor element does not include a "visited" attribute; therefore the author has no ability to alter the state through an attribute setting. As such, authors cannot achieve <ahref="info-and-relationships">1.3.1 Info and Relationshipsa> or
120
120
<ahref="name-role-value">4.1.2 Name, Role, Valuea> in regard to visited links.
121
121
li>
122
-
ol>
122
+
ul>
123
123
124
124
<p>For these reasons, setting or conveying a link's visited status is not an author responsibility. Where color alone distinguishes between visited and unvisited links, it does not result in a failure of this Success Criterion, even where the contrast between the two link colors is below 3:1. Note that authors must continue to ensure that all text links meet contrast minimums against the page background (SC 1.4.3).p>
Copy file name to clipboardExpand all lines: understanding/21/content-on-hover-or-focus.html
+24-25Lines changed: 24 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,16 @@
In brief
15
15
<dt>What to dodt><dd>If hover or focus causes content changes, ensure interaction is predictable.dd>
16
16
<dt>Why it's importantdt><dd>Unpredictable temporary content can be hard for some to consume and may disrupt others.dd>
17
17
dl>
18
-
19
18
section>
20
19
21
20
<sectionid="intent">
22
21
<h2>Intenth2>
23
22
<p>Additional content that appears and disappears in coordination with keyboard focus or pointer hover often leads to accessibility issues. Reasons for such issues include:p>
24
-
<ol>
25
-
<li>the user may not have intended to trigger the interactionli>
26
-
<li>the user may not know new content has appearedli>
27
-
<li>the new content may intefere with a user's ability to do a taskli>
28
-
ol>
23
+
<ul>
24
+
<li>the user may not have intended to trigger the interactionli>
25
+
<li>the user may not know new content has appearedli>
26
+
<li>the new content may intefere with a user's ability to do a taskli>
27
+
ul>
29
28
30
29
<p>Examples of such interactions can include custom tooltips, sub-menus and other nonmodal popups which display on hover and focus. The intent of this success criterion is to ensure that authors who cause additional content to appear and disappear in this manner must design the interaction in such a way that users can:p>
31
30
<ul>
@@ -45,10 +44,10 @@
Intent
45
44
<h3>Dismissableh3>
46
45
<p>The intent of this condition is to ensure that the additional content does not interfere with viewing or operating the page's original content. When magnified, the portion of the page visible in the viewport can be significantly reduced. Mouse users frequently move the pointer to pan the magnified viewport and display another portion of the screen. However, almost the entire portion of the page visible in this restricted viewport may trigger the additional content, making it difficult for a user to pan without re-triggering the content. A keyboard means of dismissing the additional content provides a workaround.p>
47
46
<p>Alternatively, low vision users who can only navigate via the keyboard do not want the small area of their magnified viewport cluttered with hover text. They need a keyboard method of dismissing something that is obscuring the current focal area.p>
48
-
<p>Two methods may be used to satisfy this condition and prevent such interference:p>
47
+
<p>Two methods may be used to satisfy this condition and prevent such interference:p>
49
48
<ol>
50
-
<li>Position the additional content so that it does not obscure any other content including the trigger, with the exception of white space and purely decorative content, such as a background graphic which provides no information.li>
51
-
<li>Provide a mechanism to easily dismiss the additional content, such as by pressing Escape.li>
49
+
<li>Position the additional content so that it does not obscure any other content including the trigger, with the exception of white space and purely decorative content, such as a background graphic which provides no information.li>
50
+
<li>Provide a mechanism to easily dismiss the additional content, such as by pressing Escape.li>
52
51
ol>
53
52
<p>For most triggers of relatively small size, it is desirable for both methods to be implemented. If the trigger is large, noticing the additional content may be of concern if it appears away from the trigger. In those cases, only the second method may be appropriate.p>
54
53
<p>The success criterion allows for input error messages to persist as there are cases that require attention, explicit confirmation or remedial action.p>
@@ -62,34 +61,34 @@
Hoverable
62
61
<h3>Persistenth3>
63
62
<p>The intent of this condition is to ensure users have adequate time to perceive the additional content after it becomes visible. Users with disabilities may require more time for many reasons, such as to change magnification, move the pointer, or simply to bring the new content into their visual field. Once it appears, the content should remain visible until:p>
64
63
<ul>
65
-
<li>The user removes hover or focus from the trigger and the additional content, consistent with the typical user experience;li>
66
-
<li>The user dismisses the additional content via the mechanism provided to satisfy the Dismissable condition; orli>
67
-
<li>The information conveyed by the additional content becomes invalid, such as a 'busy' message that is no longer valid.li>
64
+
<li>The user removes hover or focus from the trigger and the additional content, consistent with the typical user experience;li>
65
+
<li>The user dismisses the additional content via the mechanism provided to satisfy the Dismissable condition; orli>
66
+
<li>The information conveyed by the additional content becomes invalid, such as a 'busy' message that is no longer valid.li>
68
67
ul>
69
68
section>
70
69
<section>
71
70
<h3>Additional Notesh3>
72
71
<ul>
73
-
<li>This criterion does not attempt to solve such issues when the appearance of the additional content is completely controlled by the user agent. A prominent example is the common behavior of browsers to display the <code>titlecode> attribute in HTML as a small tooltip.li>
74
-
<li>Modal dialogs are out of scope for this criterion because they must take keyboard focus and thus should not appear on hover or focus. Refer to <ahref="https://www.w3.org/TR/WCAG21/#on-focus">Success Criterion 3.2.1, On Focusa>.li>
75
-
<li>Content which can be triggered via pointer hover should also be able to be triggered by keyboard focus. Refer to <ahref="https://www.w3.org/TR/WCAG21/#keyboard">Success Criterion 2.1.1, Keyboarda>.li>
72
+
<li>This criterion does not attempt to solve such issues when the appearance of the additional content is completely controlled by the user agent. A prominent example is the common behavior of browsers to display the <code>titlecode> attribute in HTML as a small tooltip.li>
73
+
<li>Modal dialogs are out of scope for this criterion because they must take keyboard focus and thus should not appear on hover or focus. Refer to <ahref="https://www.w3.org/TR/WCAG21/#on-focus">Success Criterion 3.2.1, On Focusa>.li>
74
+
<li>Content which can be triggered via pointer hover should also be able to be triggered by keyboard focus. Refer to <ahref="https://www.w3.org/TR/WCAG21/#keyboard">Success Criterion 2.1.1, Keyboarda>.li>
76
75
ul>
77
76
section>
78
77
section>
79
-
80
-
<sectionid="benefits">
78
+
79
+
<sectionid="benefits">
81
80
<h2>Benefitsh2>
82
81
<ul>
83
-
<li>Users with low vision who view content under magnification will be better able to view content on hover or focus without reducing their desired magnification.li>
84
-
<li>Users who increase the size of mouse cursors via platform settings or assistive technology will be able to employ a technique to view obscured content on hover.li>
85
-
<li>Users with low vision or cognitive disabilities will have adequate time to perceive additional content appearing on hover or focus and to view the trigger content with less distraction.li>
86
-
<li>users with low pointer accuracy will be able to more easily dismiss unintentionally-triggered additional contentli>
82
+
<li>Users with low vision who view content under magnification will be better able to view content on hover or focus without reducing their desired magnification.li>
83
+
<li>Users who increase the size of mouse cursors via platform settings or assistive technology will be able to employ a technique to view obscured content on hover.li>
84
+
<li>Users with low vision or cognitive disabilities will have adequate time to perceive additional content appearing on hover or focus and to view the trigger content with less distraction.li>
85
+
<li>users with low pointer accuracy will be able to more easily dismiss unintentionally-triggered additional contentli>
87
86
ul>
88
87
section>
89
-
88
+
90
89
<sectionid="examples">
91
90
<h2>Examplesh2>
92
-
91
+
93
92
<sectionclass="example">
94
93
<h3>Example 1: Dismissable Tooltiph3>
95
94
<figureid="figure-mouse-tooltip-below">
@@ -102,7 +101,7 @@
Example 1: Dismissable Tooltip
102
101
<figcaption>The button's tooltip also appears on focus and can be removed with the Escape key. The screen shot shows the same LVTF button with focus, but the tooltip has been dismissed and is no longer visible.figcaption>
103
102
figure>
104
103
section>
105
-
104
+
106
105
<sectionclass="example">
107
106
<h3>Example 2: Hoverable Tooltiph3>
108
107
<figureid="figure-large-pointer-tooltip">
@@ -119,7 +118,7 @@
Resources
119
118
<li><ahref="https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/">Tooltip design described in WAI-ARIA Authoring Practicesa>li>
Copy file name to clipboardExpand all lines: understanding/21/interruptions-minimum.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@
Understanding Interruptions (Minimum)
11
11
<h2>Intenth2>
12
12
<p>The intent of this Success Criterion is to avoid interrupting users during their interaction with a Web page. When users are distracted, especially users with impaired attention or memory, they may forget what they were doing and abandon the task. This can happen even when the original task is extremely important.p>
13
13
<p>Where a site may generate interruptions, the user must be able to postpone or suppress them, such that: p>
14
-
<ol>
14
+
<ul>
15
15
<li>Popups and other interruptions can be easily delayed or turned off [Editor: do we need a definition for popup?]li>
16
16
<li>Media events can be easily delayed or turned off [Editor: how is this different from Pause, Hide, Stop?]li>
17
17
<li>Chat functions can be easily turned off and on again li>
18
18
<li>Non-critical messages can easily be turned off and on again li>
19
-
ol>
19
+
ul>
20
20
<p>Changes in content that are not initiated by the user must be avoided. Secondary content (such as special offers or complementary material) should be easily identified, controlled and turned off.p>
21
21
<p>Other potential distractions are covered by existing WCAG Success Criteria <ahref="pause-stop-hide" class="sc">Pause, Stop, Hidea>, <ahref="audio-control" class="sc">Audio Controla>, <ahref="three-flashes-or-below-threshold" class="sc">Three Flashes or Below Thresholda>, <ahref="low-or-no-background-audio" class="sc">Low or No Background Audioa>, <ahref="timing-adjustable" class="sc">Timing Adjustablea>. These success criteria are aimed at specific considerations which can have repercussions on certain user groups, but also have a broader effect of reducing distractions for all users.p>
0 commit comments