If an input error was detected that was outside of the allowable range of values, the user is informed of the proper range in the error message.
WCAG 2 criterion
3.3.3 Error Suggestion (Level AA)
Tools and requirements
Test procedure
During manual evaluation, when testing form inputs that have limits on acceptable values (if any), purposely fill out the field improperly. The error message for any field with a limited range of acceptable values should describe how to correctly fill out the field.
Inputs that have limits on acceptable values may include
Dates (only after x date and before y date)
Quantities (such as for tickets or spaces to reserve for a conference)
Comboboxes
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 "Guideline83" 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:
## If an input error was detected that was outside of the allowable range of values, the user is informed of the proper range in the error message.
### WCAG 2 criterion
3.3.3 Error Suggestion (Level AA)
### Tools and requirements
* Manual Evaluation
### Test procedure
During manual evaluation, when testing form inputs that have limits on acceptable values (if any), purposely fill out the field improperly. The error message for any field with a limited range of acceptable values should describe how to correctly fill out the field.
Inputs that have limits on acceptable values may include
* Dates (only after x date and before y date)
* Quantities (such as for tickets or spaces to reserve for a conference)
* Comboboxes