Any automatically updating content that starts automatically and is part of other content must include a pause, stop, or hide mechanism.
WCAG 2 criterion
2.2.2 Pause, Stop, Hide (Level A)
Tools and requirements
Test procedure
If there is any content that has live updates (for instance, using AJAX), mark a failure unless there is a function available to pause, fully stop, or hide away the live updates.
This function needs to be explained to the user in text.
AI Prompt
Copy to Clipboard
Create a PHP class in the namespace "App\Services\AccessibilityAnalyzer\GuidelineRules"
that extends "App\Services\AccessibilityAnalyzer\GuidelineRuleRunner" and is called "Guideline52" that has a function with the signature "protected function findApplicableElements(Crawler $crawler): Crawler". The base class includes the function "protected function isElementIncludedInAccessibilityTree(\DOMNode $element): bool" for determining if an element is included in the accessibility tree.
Web accessibility guideline:
## Any automatically updating content that starts automatically and is part of other content must include a pause, stop, or hide mechanism.
### WCAG 2 criterion
2.2.2 Pause, Stop, Hide (Level A)
### Tools and requirements
* Manual Assessment
### Test procedure
If there is any content that has live updates (for instance, using AJAX), mark a **failure** *unless there* is a function available to pause, fully stop, or hide away the live updates.
* This function needs to be explained to the user in text.