[wp-trac] [WordPress Trac] #33064: Customizer: form inputs need a way to have hidden labels

WordPress Trac noreply at wordpress.org
Fri Oct 23 19:55:20 UTC 2015


#33064: Customizer: form inputs need a way to have hidden labels
--------------------------+--------------------------------
 Reporter:  afercia       |       Owner:  valendesigns
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Customize     |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility
--------------------------+--------------------------------

Comment (by westonruter):

 I think [attachment:33064.2.diff] looks good. The only thing I could thing
 of is to maybe rename `$label_hidden` to something like
 `$label_is_screen_reader_text` (bad name), since the label isn't actually
 “hidden” from users of assistive technologies.

 There are other instances of the `customize-control-title` class being
 used in that file, including both other controls in PHP as well as JS-
 templated controls. Should the `$label_hidden` property be honored for
 them as well?

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


More information about the wp-trac mailing list