21. Timed Events
Accessibility Requirements
-
WCAG SC 1.4.2 Audio Control – If any audio in a document plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.
-
WCAG SC 2.2.1 Timing Adjustable – For each time limit that is set by the content, at least one of the following is true:
- Turn off: The user is allowed to turn off the time limit before encountering it.
- Adjust: The user is allowed to adjust the time limit before encountering it over a wide range that is at least ten times the length of the default setting.
- Extend: The user is warned before time expires and given at least 20 seconds to extend the time limit with a simple action (for example, “press the space bar”), and the user is allowed to extend the time limit at least ten times.
-
WCAG SC 2.2.2 Pause, Stop, Hide – For moving, blinking, scrolling, or auto-updating information, all of the following are true:
- Moving, blinking, scrolling: For any moving, blinking, or scrolling information that (1) starts automatically, (2) lasts more than five seconds, and (3) is presented in parallel with other content, there is a mechanism for the user to pause, stop, or hide it unless the movement, blinking, or scrolling is part of an activity where it is essential.
- Auto-updating: For any auto-updating information that (1) starts automatically and (2) is presented in parallel with other content, there is a mechanism for the user to pause, stop, or hide it or to control the frequency of the update unless the auto-updating is part of an activity where it is essential.
-
Conformance Requirement 5: Non-Interference - The following success criteria apply to all content in a document, including content that is not otherwise relied upon to meet conformance, because failure to meet them could interfere with any use of the page: 1.4.2 - Audio Control, 2.1.2 - No Keyboard Trap, 2.3.1 - Three Flashes or Below Threshold, and 2.2.2 - Pause, Stop, Hide.
Test Method Rationale
Determine how time limits, auto-play, and auto-update can be modified by a user and execute the modifications.
Limitations, Assumptions, or Exceptions
- From SC 2.2.1: Timing Adjustable, time limits set by the content that meet any of the following are not included in this test:
- Real-time Exception: The time limit is a required part of a real-time event (for example, an auction), and no alternative to the time limit is possible; or
- Essential Exception: The time limit is essential and extending it would invalidate the activity; or
- 20 Hour Exception: The time limit is longer than 20 hours.
- Content that repeats or is synchronized with other content, so long as the information and data is adjustable or otherwise under the control of the end user. Examples of time limits for which this success criterion is not applicable include scrolling text that repeats, captioning, and carousels. These are situations that do include time limits, but the content is still available to the user because there are controls for accessing it.
- Changing content is considered to be “in parallel” when it appears alongside other content. For example, a news flash updating across the bottom of a page would be considered changing content in parallel with other content when the page also presents a news video and text news articles (both examples of static content). A button allowing users to pause the changing content would not be considered other static content.
- Moving, blinking, scrolling, and/or auto-updating is considered “essential” to an activity when, if removed, it would fundamentally change the information or functionality of the content, and information and functionality cannot be achieved in another way that would conform.
- Notes from SC 2.2.2 Pause, Stop, Hide:
- Note 1: For requirements related to flickering or flashing content, refer to Guideline 2.3.
- Note 2: Since any content that does not meet this success criterion can interfere with a user’s ability to use the whole document, all content in the document (whether it is used to meet other success criteria or not) must meet this success criterion. See Conformance Requirement 5: Non-Interference.
- Note 3: Content that is updated periodically by software or that is streamed to the user agent is not required to preserve or present information that is generated or received between the initiation of the pause and resuming presentation, as this may not be technically possible, and in many situations could be misleading to do so.
- Note 4: An animation that occurs as part of a preload phase or similar situation can be considered essential if interaction cannot occur during that phase for all users and if not indicating progress could confuse users or cause them to think that content was frozen or broken.
- Note from SC 1.4.2 Audio Control:
- Note 1: Since any content that does not meet this success criterion can interfere with a user’s ability to use the whole document, all content in the document (whether or not it is used to meet other success criteria) must meet this success criterion. See Conformance Requirement 5: Non-Interference.
- Per WCAG 2.2 Understanding SC 1.4.2: Audio Control, having control of the volume includes being able to reduce its volume to zero. Muting the system volume is not “pausing or stopping” the autoplay audio. Both the “pause or stop” and control of audio volume need to be independent of the overall system volume.
21.A Test Procedure for Timing Adjustable
Baseline Test ID: 21.A-TimingAdjustable
Identify Content
Identify any instances of content time limits (excluding exceptions described above).
Test Instructions
- For each instance of an identified time limit for content, check that at least one of the following is true before time expires [SC 2.2.1]:
- The user has the ability to turn off the time limit.
- The user has the ability to adjust the time limit before encountering it over a wide range that is at least ten times the length of the default setting.
- The user is warned before time expires AND:
- Given at least 20 seconds to extend the time limit with a simple action (e.g., "press the space bar"), AND
- Allowed to extend the time limit at least ten times.
Test Results
If the above check fails, then Baseline Test 21.A-TimingAdjustable fails.
21.B Test Procedure for Moving Information
Baseline Test ID: 21.B-MovingInfo
Identify Content
Any moving, blinking, or scrolling information that meets ALL of the following:
- Starts automatically, AND
- Lasts more than 5 seconds, AND
- Is presented in parallel with other content, AND
- Moving, blinking, scrolling is not essential
Test Instructions
- Check that there is a mechanism for the user to pause, stop, or hide it [SC 2.2.2].
Test Results
If the above check fails, then Baseline Test 21.B-MovingInfo fails.
21.C Test Procedure for Auto-updating Information
Baseline Test ID: 21.C-AutoUpdate
Identify Content
Any auto-updating information that meets ALL of the following:
- Starts automatically, AND
- Is presented in parallel with other content, AND
- Is not part of an activity where it is essential
Test Instructions
- Check that there is a mechanism for the user to pause, stop, or hide it or to control the frequency of the update [SC 2.2.2].
Test Results
If the above check fails, then Baseline Test 21.C-AutoUpdate fails.
21.D Test Procedure for Audio Control
Baseline Test ID: 21.D-AudioControl
Identify Content
Audio that automatically plays for more than 3 seconds.
Test Instructions
- Check that either [SC 1.4.2]:
- A mechanism is available at the beginning of the document content or in platform accessibility features to pause or stop the audio that is independent of the overall system volume, OR
- A mechanism is available at the beginning of the document content or in platform accessibility features to control audio volume independently from the overall system volume level.
Test Results
If the above check fails, then Baseline Test 21.D-AudioControl fails.
Advisory: Tips for Streamlined Test Processes
- Remind testers that when the time-out occurs, visible focus should shift to the time-out alert to comply with success criteria for keyboard accessibility and focus order.
- In some cases, it may be necessary to contact the application authors to clarify the conditions under which time-outs occur.
- A failure of SC 1.4.2 or 2.2.2 would also fail Conformance Requirement 5: Non-Interference and should be highlighted in test reports to indicate the severe impact on accessibility.
- Media players must be configured to disable autoplay of audio prior to testing of content. Provide instructions for conformant player mechanisms only. Test results may vary depending on the media player used.
- Content that is found non-conformant with SC 2.2.2 may be marked for further review for a Section 508 exception if the auto-update is essential. However, an exception for SC 2.2.2 should be considered carefully as Conformance Requirement 5: Non-Interference requires its conformance.
WCAG 2.2 Techniques
The following sufficient techniques and/or common failures were considered when developing this test procedure for this baseline requirement:
- F16: Failure of Success Criterion 2.2.2 due to including scrolling content where movement is not essential to the activity without also including a mechanism to pause and restart the content
- G4: Allowing the content to be paused and restarted from where it was paused
- G60: Playing a sound that turns off automatically within three seconds
- G170: Providing a control near the beginning of the Web page that turns off sounds that play automatically
- G171: Playing sounds only on user request
- G180: Providing the user with a means to set the time limit to 10 times the default time limit
- G186: Using a control in the Web page that stops moving, blinking, or auto-updating content
- G198: Providing a way for the user to turn the time limit off
- SCR16: Providing a script that warns the user a time limit is about to expire AND SCR1: Allowing the user to extend the default time limit
- SCR33: Using script to scroll content, and providing a mechanism to pause it
- SCR36: Providing a mechanism to allow users to display moving, scrolling, or auto-updating text in a static window or area