You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Real-world support for required in screen readers is largely equivalent between required and aria-required:
Excluding Android browsers paired with TalkBack, all other tested screen reader and browser pairings announce a form control as “required” when using the required attribute. [...] (Unfortunately, even using aria-required="true" on a form control did not help TalkBack announce it as “required.”)
Blog posts from around 2012 seem to indicate that it was previously recommended due to lack of consistent support at the time, which (along with the mention of IE9 in #781) could explain why the doubling-up was reasonable at the time.
Environment
Current behavior
This form:
produces this output:
Having both
required="required"
andaria-required="true"
is redundant and not recommended per the Mozilla docs.Expected behavior
Ideally, the generated field would look like this:
We see that this behavior was added intentionally in #781 (2013), but is no longer recommended.
The text was updated successfully, but these errors were encountered: