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: improve accessibility of svg links #12

Merged
merged 1 commit into from
May 18, 2024

Conversation

SethFalco
Copy link
Member

@SethFalco SethFalco commented May 18, 2024

Now that our SVGs include links, we want to ensure those links are accessible for assistive technologies.

  • Sort the Docusaurus group before PostCSS group in the SVG itself.
  • Updates the CSS selector to include focus, not just hover. (For focus, i.e. tab navigation.)
  • Give both links an appropriate title for screen readers to read when focused.
  • Removes aria-hidden=true, as these now contain interactable elements.

@SethFalco SethFalco merged commit a48e5a7 into svg:main May 18, 2024
1 check passed
@SethFalco SethFalco deleted the chore/a11y branch May 18, 2024 09:17
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