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

WordPress Trac noreply at wordpress.org
Sat May 22 21:02:03 UTC 2021


#33064: Customizer: form inputs need a way to have hidden labels
------------------------------------------------+--------------------------
 Reporter:  afercia                             |       Owner:  (none)
     Type:  enhancement                         |      Status:  assigned
 Priority:  normal                              |   Milestone:  Future
                                                |  Release
Component:  Customize                           |     Version:  4.2
 Severity:  normal                              |  Resolution:
 Keywords:  has-patch needs-refresh needs-docs  |     Focuses:  ui,
                                                |  accessibility
------------------------------------------------+--------------------------
Changes (by celloexpressions):

 * keywords:  has-patch => has-patch needs-refresh needs-docs


Comment:

 Unfortunately this got stuck on picking a name and lost momentum. Of the
 options above, `$use_label_as_screen_reader_text` seems the clearest to
 me. Noting that this variable name becomes part of the public customize
 API and needs to be documented in the handbook as well, here:
 https://developer.wordpress.org/themes/customize-api/customizer-
 objects/#controls

 [attachment:"33064.2.diff"] looks good to me - can someone update the name
 of the variable and confirm it still applies against trunk? If so, then
 this is ready to go.

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


More information about the wp-trac mailing list