Error Handling and Focus Management
Scenario 4: On Blur (“Inline Validation”) – Error Message
- No forced focus placement; focus moves per user direction (i.e. if they tab to next field – focus goes to the next field)
- Aria-describedby connects field and error message
- Role=alert must be used to read the error message as it appears onscreen:
- This may necessitate having two different empty message containers present in the page on page load for fields that have validation on blur. One will be used for error messages on submittal and will NOT use role=alert. One will be used for error message on blur and will use role=alert.)
All information is required unless noted otherwise.