[wp-trac] [WordPress Trac] #38604: Twenty Seventeen: Skip to content link broken in IE
WordPress Trac
noreply at wordpress.org
Tue Nov 1 13:35:15 UTC 2016
#38604: Twenty Seventeen: Skip to content link broken in IE
---------------------------+-----------------------------
Reporter: sami.keijonen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
In IE11 there is still the same skip to content bug.
1. Start tabbing. Skip to content link gets visible.
1. Hit Enter or Space and I'm moved to `#content`.
1. Hit Tab again and focus goes back to Skip to content link.
My best quess is that `navigator.userAgent.toLowerCase().indexOf( 'msie'
)` is not working for IE11 so there will be no `tabindex=-1` on
`#content`.
I'm not sure why we even try to check different browsers. Why not just
always use `tabindex=-1` on `#content` when clickin skip to content?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38604>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list