[wp-trac] [WordPress Trac] #33085: Customizer: controls description inside labels are not real labels nor descriptions

WordPress Trac noreply at wordpress.org
Fri Oct 23 13:08:54 UTC 2015


#33085: Customizer: controls description inside labels are not real labels nor
descriptions
-------------------------------------+--------------------------------
 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 needs-testing  |     Focuses:  ui, accessibility
-------------------------------------+--------------------------------

Comment (by afercia):

 @valendesigns Coulnd't find any of the "default" controls from
 `WP_Customize_Control::render_content` with a description so I've manually
 added a couple of them, see in the screenshot below how they're announced
 using Firefox + NVDA: works out the way it's supposed to :)

 [[Image(https://cldup.com/XiW379Vj6i.png)]]

 Having the labels associated with the `for` attribute (i.e. no more
 "wrapping" the control) is a nice improvement too especially thinking at a
 way to provide the ability to hide labels, see #33064.

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


More information about the wp-trac mailing list