[wp-trac] [WordPress Trac] #33228: Customizer initial focus
WordPress Trac
noreply at wordpress.org
Sat Aug 1 18:30:59 UTC 2015
#33228: Customizer initial focus
--------------------------+--------------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, accessibility, javascript
--------------------------+--------------------------------------------
Comment (by afercia):
Testing with NVDA, looks like it will read out all the elements in the
overlay as "blank" when moving around with keystrokes (arrows, keystrokes
for headings etc.) while everything works when tabbing through focusable
elements. Seems related to timings since using a `setTimout` set to "0" to
apply `visibility: visible;` fixes it.
{{{
setTimeout( function() {
Loader.element.addClass( 'visible-visibility' );
}, 0 );
}}}
Will try to investigate about a better way to make sure CSS classes get
always applied with the right timing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33228#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list