[wp-trac] [WordPress Trac] #33184: Customizer: unnecessary events bound on some section titles
WordPress Trac
noreply at wordpress.org
Wed Jul 29 18:23:14 UTC 2015
#33184: Customizer: unnecessary events bound on some section titles
--------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-----------------------------
Noticed because screen readers announce them as "clickable" elements when
arrowing around them. Looks like some section titles have unnecessary
events attached, see screenshot:
[[Image(https://cldup.com/HJ7Oq3IzCq.png)]]
the jQuery selector used here should be a bit more specific, and this can
be done in several ways, I'd leave this decision to the Customizer team
since they know the Customizer events intricacies far better than me.
Maybe targeting just the ones that have a `tabindex="0"` attribute?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33184>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list