[wp-trac] [WordPress Trac] #33028: Skip to content: avoid page jump
WordPress Trac
noreply at wordpress.org
Fri Jul 17 20:21:02 UTC 2015
#33028: Skip to content: avoid page jump
-------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.2
Severity: normal | Keywords:
Focuses: ui, accessibility |
-------------------------------+-----------------------------
Long standing issue, especially for keyboard users: when following the
"Skip to main content" link, focus is moved to the `#wpbody-content` div
and in admin screens with a long content, this causes the page to scroll
in your browser. See in the screenshot below:
1. start tabbing in a screen with some long content
2. the skip to main content link appears, press Enter
3. focus is moved and the page is scrolled
4. tab again and the page scrolls again to bring into view the "Help" tab
button (there's some JavaScript for this to happen)
[[Image(https://cldup.com/0sB-GYp4kT.png)]]
Every time keyboard users activate the Skip to main content link, they see
this down/up scrolling. I've read the related tickets and to me it's clear
why it's done this way, no objections. As a keen keyboard user I find this
jump a bit annoying :) and I guess all keyboard users share the same
feeling. Yes it's a minor thing, I'd just propose to try to find a simple
way (no JavaScript) to improve a bit the users experience.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33028>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list