[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
       
    Wed Jun 28 09:36:51 UTC 2017
    
    
  
#39045: W3C Validator warning: Attribute aria-required is unnecessary for elements
that have attribute required.
-----------------------------+-----------------------------
 Reporter:  henry.wright     |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  required-fields  |     Focuses:  accessibility
-----------------------------+-----------------------------
Comment (by afercia):
 Yep there was a time when both were needed. Today, it's safe to use just
 `required`. Instead, `aria-required` is for custom, non-native, controls.
 Also, just stumbled upon a good feedback from Adrian Roselli:
 https://stackoverflow.com/a/37975985
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39045#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list