Opened 10 years ago
Closed 10 years ago
#33706 closed defect (bug) (maybelater)
Attribute aria-required is unnecessary for elements that have attribute required
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3 |
Component: | Comments | Keywords: | needs-testing |
Focuses: | accessibility | Cc: |
Description
when I try to validate my page:
https://validator.w3.org/nu/?doc=http%3A%2F%2Fblog.dinnerbooking.com%2F2015%2F09%2F02%2Fkoekkenchef-paa-castenskiold-thorsten-schmidt-giver-tryghed-til-at-eksperimentere%2F
I get:
===================
Warning: Attribute aria-required is unnecessary for elements that have attribute required.
From line 193, column 84; to line 193, column 182
r</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" required="required"></text
===================
Change History (3)
Note: See
TracTickets for help on using
tickets.
It's true that aria-required is not required for required attributes, but for cross-browser and assistive technology support, it's better to have both, so that non-conforming browsers are covered.
Warnings from validators are not errors; they're indicators that you're doing something that isn't strictly conformant with code, but needs to be addressed situationally based on external factors.
This will certainly be addressed at some point in the future, but it should probably hold off for a while yet. The update cycle for screen reader users is generally very slow.