umbraco / Umbraco-CMS.Accessibility.Issues

6 stars 1 forks source link

Add user - Error identification #66

Open umbrabot opened 2 years ago

umbrabot commented 2 years ago

Add user - Missing required information - Does not return to the first error on submit

Steps to replicate:

  1. Navigate to 'Users' section
  2. Add a new user
  3. Submit with missing required information
  4. Focus does not return to the first error on the page

Issue: Error identification: If an input error is automatically detected, the item in error must be identified, and the error described, in text

Why it matters: An "input error" occurs when:

Identifying and describing input errors in text allows people who use assistive technologies to learn what went wrong. It also helps people with certain cognitive disabilities who have difficulty understanding the meaning of icons and other visual cues.

How to fix: Use text to identify and describe input errors. (It's ok if you also provide visual cues, such as colour changes or error icons.) Focus should shift to the first error in the form.

W3 reference: https://www.w3.org/WAI/WCAG21/Understanding/error-identification.html