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

chore: add 'Skip to main content' button to the main page #1837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ToMESSKa
Copy link
Contributor

@ToMESSKa ToMESSKa commented Dec 20, 2024

Closes: INSTUI-4240

ISUUE: main page does not have a a 'Skip to main content' button to avoid going through repetitive content. This current implementation is based on this recommendation: https://www.a11y-collective.com/blog/skip-to-main-content/

TEST PLAN:

  • go through the documentation's main page with a screenreader with Tab
  • the first focusable element on the page should be a 'Skip to main content' button
  • the button should not be visible when not focused
  • when the button is clicked, it should bring the focus to the 'Components everyone can count on' header

@ToMESSKa ToMESSKa self-assigned this Dec 20, 2024
Copy link

github-actions bot commented Dec 20, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://instructure.github.io/instructure-ui/pr-preview/pr-1837/
on branch gh-pages at 2024-12-20 10:38 UTC

@ToMESSKa ToMESSKa force-pushed the INSTUI-4240_docs_add_skip_to_main_content_button branch from 7ba47f3 to ec9fd33 Compare December 20, 2024 10:33
@ToMESSKa ToMESSKa requested review from matyasf and HerrTopi December 20, 2024 10:53
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