[wp-trac] [WordPress Trac] #43415: Remove "aria-required" attribute when "required" attribute is already used
WordPress Trac
noreply at wordpress.org
Mon Feb 26 23:09:59 UTC 2018
#43415: Remove "aria-required" attribute when "required" attribute is already used
-------------------------------------------------+-------------------------
Reporter: audrasjb | Owner:
Type: defect (bug) | SergeyBiryukov
Priority: normal | Status: closed
Component: Media | Milestone: 5.0
Severity: normal | Version: 4.9.4
Keywords: good-first-bug has-patch needs- | Resolution: fixed
refresh | Focuses:
| accessibility
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"42759"]:
{{{
#!CommitTicketReference repository="" revision="42759"
Media: Remove unnecessary `aria-required` attribute from legacy
(pre-3.5.0) media functions, added in [7888].
At the time, having both `required` and `aria-required` meant a wider
range of support for browsers and assistive technology. Today, it's safe
to use just `required`.
Props shital-patel, afercia, audrasjb.
Fixes #43415.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43415#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list