[wp-trac] [WordPress Trac] #32943: Menu Customizer: reorder buttons tabindex not set for just added items
WordPress Trac
noreply at wordpress.org
Wed Jul 15 19:24:34 UTC 2015
#32943: Menu Customizer: reorder buttons tabindex not set for just added items
----------------------------------+----------------------------------------
Reporter: afercia | Owner: valendesigns
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs- | Focuses: accessibility, javascript
testing |
----------------------------------+----------------------------------------
Changes (by westonruter):
* keywords: has-patch 2nd-opinion => has-patch needs-testing
Comment:
@valendesigns In [attachment:32943.2.diff] I introduce a new Customizer
event `pane-contents-reflowed` which gets triggered when
`wp.customize.reflowPaneContents()` finishes. The menu section then
listens for this event and updates the `tabIndex` attributes at this time.
This should be more robust. I'm noticing, however, that while the
`tabIndex` attributes are getting set to `-1`, the keyboard focus
sometimes isn't getting set to an adjacent element that *is* focusable. I
suppose this would be a separate issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32943#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list