[wp-trac] [WordPress Trac] #50702: Invalid tabindex in screen-reader-shortcut
WordPress Trac
noreply at wordpress.org
Mon Jul 20 12:12:14 UTC 2020
#50702: Invalid tabindex in screen-reader-shortcut
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
erikjandelange |
Type: defect | Status: new
(bug) |
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.4.2
Severity: normal | Keywords: accessibility tabindex screen-
Focuses: | reader
accessibility |
-------------------------+-------------------------------------------------
I'm trying to update a website to be 100% accessible. Till so far the bugs
in the theme are solved but now i have (according to Google Chrome -
Lighthouse) an bug in the tabindex of the screen reader shortcut.
In line `451` of the file `wp-includes/class-wp-admin-bar.php` there is a
tabindex set to 1. Which isn't allowed.
The confusing part, that the code is valid, but Lighthouse marks it as
invalid because users can expirience an abnormal behaviour of the tab
walk-through.
The message Lighthouse returns is:
> Some elements have a [tabindex] value greater than 0
> A value greater than 0 implies an explicit navigation ordering. Although
technically valid, this often creates frustrating experiences for users
who rely on assistive technologies. Learn more.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50702>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list