-
Notifications
You must be signed in to change notification settings - Fork 289
3.3.1 Error Identification - possibly inappropriate sufficient techniques #4029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
tl;dr: ARIA techniques, on their own/in isolation, are generally not the best "sufficient" techniques as they'll generally only work for AT users... |
On its own, I regard the |
So what would be needed is an AND between ARIA2 and G83? (I seem to remember the Quickref had at some point these ANDs to indicate that you need to use one Technique together with another to be sufficient...)
Not sure if there is still a point in using |
See also #1773 |
just on this point ... how is it not supported properly, specifically? |
The error messages used to only be displayed for five seconds in Chrome. It was like this for about 20 years, but it was fixed sometime in 2024. However, they introduced a new issue. If the page is scrolled in Chrome, the popup error message remains visible and moves with the form control as long as the error message remains within the viewport. However, if the page is scrolled far enough for the popup error message to be outside the viewport, it disappears automatically and does not reappear when the page is scrolled back again. At high zoom levels, the error message may never be seen if its starting position is outside the viewport. If the page is scrolled in Firefox, the form controls move but the error messages do not, so the error messages lose their visual relationship with the form controls. This has always been the case. |
https://www.w3.org/WAI/WCAG22/Understanding/error-identification.html currently lists two techniques which, arguably, aren't really all that "sufficient"
aria-required
, but also visible text as part of the label, so it will work for more than just AT users. the similar PDF5: Indicating required form controls in PDF forms is different as here the required property will also trigger an error validation for non-AT users. maybe this ARIA2 technique should be replaced with one that uses the actualrequired
(rather thanaria-required
) attribute, which at least will trigger browser-native validation?aria-invalid
state, so relying solely on this won't be sufficient for all usersThe text was updated successfully, but these errors were encountered: