Labels describe any required fields or required formatting requirements. (e.g. If a MM/DD/YYYY format is required)
WCAG 2 criterion
3.3.2 Labels or Instructions (Level A)
Tools and requirements
Test procedure
During manual evaluation, if a form field has a required format, that format must be detailed in the label. Specific formatting details are not needed for fields where a format is implied (e.g. an "Email" field would expect an '@' in it with a URL at the end).
Common fields that may have formatting requirements that need to be explained in the label include
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 "Guideline80" 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:
## Labels describe any required fields or required formatting requirements. (e.g. If a MM/DD/YYYY format is required)
### WCAG 2 criterion
3.3.2 Labels or Instructions (Level A)
### Tools and requirements
* Manual Evaluation
### Test procedure
During manual evaluation, if a form field has a required format, that format must be detailed in the label. Specific formatting details are not needed for fields where a format is implied (e.g. an "Email" field would expect an '@' in it with a URL at the end).
Common fields that may have formatting requirements that need to be explained in the label include
* Dates
* Needing NetID@cornell.edu or just NetID
* Phone Number