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

Add accessibility skip link to NewsKit site #880

Open
GeriReid opened this issue May 5, 2023 · 0 comments
Open

Add accessibility skip link to NewsKit site #880

GeriReid opened this issue May 5, 2023 · 0 comments
Assignees
Labels
a11y Accessibility story a user facing change

Comments

@GeriReid
Copy link
Contributor

GeriReid commented May 5, 2023

Description

Including a skip link gives users the option to bypass the top-level navigation links and jump to the main content on a page. This helps users who navigate using the keyboard get to content quickly.

Business Benefit/Value

A skip link is a requirement under WCAG 2.4.1: Bypass Blocks (A)

Best practice

  • Should go right after the body tag, first thing a keyboard user can tab to
  • Visually hidden until in focus
  • Use the text "Skip to main content"

To discuss

  • this component is a link but is styled as a button
  • can we pass a button into the link? Is this good practice? eg.
<Button href="#maincontent">
Skip to main content

Supporting Information

Design

How other sites do skip links

Acceptance Criteria

Review with Design

@GeriReid GeriReid added triage This issue will be reviewed by the team a11y Accessibility story a user facing change labels May 5, 2023
@jps jps removed the triage This issue will be reviewed by the team label May 9, 2023
@JohnTParsons JohnTParsons self-assigned this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility story a user facing change
Projects
Status: Done
Development

No branches or pull requests

3 participants