Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix skip to content links not moving virtual cursor #816

Closed

Conversation

GCHQ-Developer-847
Copy link
Contributor

Summary of the changes

Added fixes to get "Skip to main content" and "Skip to page content" links moving the virtual cursor rather than just keyboard focus.

You can test this by doing the following with VoiceOver enabled:

  1. Tab to the links ("Skip to main content" is just before the home link on the top navigation, "Skip to page content" is just before the left hand navigation items).
  2. Press Enter.
  3. Use a keyboard shortcut which moves the virtual cursor. See the VoiceOver shortcuts for these - "VO" stated here is Caps Lock by default. I have tended to use VO + Right Arrow or VO + A.

See my comment on the ticket if you would like to find out about the research I did and how I came to this solution.

Related issue

#616

Checklist

…d tabindex

Add anchor elements to better handle moving of focus to main and page content. Add tabindex="1" to
these elements to get the virtual cursor focus to move as well.

.#616
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant