[wp-trac] [WordPress Trac] #42054: Customize Themes: invalid HTML and aria-describedby values

WordPress Trac noreply at wordpress.org
Mon Oct 2 06:50:15 UTC 2017


#42054: Customize Themes: invalid HTML and aria-describedby values
--------------------------+----------------------------
 Reporter:  afercia       |       Owner:  afercia
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+----------------------------

Comment (by afercia):

 @celloexpressions not sure this is correct:

 {{{
 <label class="screen-reader-text" for="wp-filter-search-input" ...
 <input ... id="wp-filter-search-input-{{ data.id }}"
 }}}

 also, as per the WordPress accessibility standards, labels must be
 associated explicitly that is: a label must not wrap the form control and
 must use for/id attributes, so the second label should be changed.

 Please don't assign me to tickets without asking me before. :)

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


More information about the wp-trac mailing list