Open patrickhlauke opened 2 months ago
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 required
attribute as insufficient. It isn't supported properly yet, so it is only a possible future technique. Given how long it has been unsupported properly in Chrome and Firefox, it seems doubtful it will ever get fixed.
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...)
ARIA2 technique should be replaced with one that uses the actual required (rather than aria-required) attribute
Not sure if there is still a point in using aria-required
over required
to prevent an "invalid entry" output even before any input is made... to lazy to test right now.
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 users