[wp-trac] [WordPress Trac] #47053: Accessibility: Need to set proper 'tabindex' in 'Skip To Toolbar' HTML
WordPress Trac
noreply at wordpress.org
Mon Sep 23 15:40:34 UTC 2019
#47053: Accessibility: Need to set proper 'tabindex' in 'Skip To Toolbar' HTML
-------------------------------------------------+-------------------------
Reporter: jankimoradiya | Owner: joedolson
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.3
Component: Toolbar | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses: ui,
testing | accessibility
-------------------------------------------------+-------------------------
Comment (by ocean90):
Looking at [attachment:"47053.3.patch"], `did_action( 'wp_body_open' )`
will always return false as `default-filters.php` is loaded before any
actions are run. Also, if it should be the first thing to load the prio
shouldn't be 1000.
I don't think that moving the rendering action of the toolbar is actually
a good idea as it comes with some back-compat and performance concerns.
Plugins which extend the toolbar may register their extensions in
`wp_footer` or require that everything but the toolbar is already
rendered. The primary focus should be set to the site content not the
toolbar.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47053#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list