[wp-trac] [WordPress Trac] #39045: W3C Validator warning: Attribute aria-required is unnecessary for elements that have attribute required.

WordPress Trac noreply at wordpress.org
Mon Feb 26 20:49:15 UTC 2018


#39045: W3C Validator warning: Attribute aria-required is unnecessary for elements
that have attribute required.
-------------------------------------------------+-------------------------
 Reporter:  henry.wright                         |       Owner:  lakenh
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.0
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  required-fields good-first-bug has-  |     Focuses:
  patch                                          |  accessibility
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42758"]:
 {{{
 #!CommitTicketReference repository="" revision="42758"
 Comments: Remove unnecessary `aria-required` attribute from
 `comment_form()`, added with the function in [12810].

 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 lakenh, afercia, davidakennedy, henry.wright.
 Fixes #39045.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39045#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list