[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
Sun Mar 18 16:44:45 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:  4.9.5
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  required-fields good-first-bug has-  |     Focuses:
  patch fixed-major                              |  accessibility
-------------------------------------------------+-------------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"42849"]:
 {{{
 #!CommitTicketReference repository="" revision="42849"
 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`.

 Merge of [42758] to the 4.9 branch.

 Props lakenh, afercia, davidakennedy, henry.wright.
 Fixes #39045.
 }}}

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


More information about the wp-trac mailing list