[wp-trac] [WordPress Trac] #37980: Don't attach events to customizer section headings with cannot-expand class

WordPress Trac noreply at wordpress.org
Sat Oct 15 01:38:43 UTC 2016


#37980: Don't attach events to customizer section headings with cannot-expand class
----------------------------------------+-------------------------------
 Reporter:  celloexpressions            |       Owner:  celloexpressions
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  4.7
Component:  Customize                   |     Version:  4.3
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  javascript
----------------------------------------+-------------------------------

Comment (by celloexpressions):

 I would actually still prefer not to prevent focus styling from applying,
 per [comment:7] since this shouldn't be focusable if it cannot expand.
 This helps to expose the presence of `tabindex` in a custom section here
 as a bug in the theme's implementation. Overriding the styles here on
 focus means that core doesn't object to themes leaving a `tabindex` here,
 which is clearly wrong in terms of accessibility.

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


More information about the wp-trac mailing list