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(a11y): add aria labels to bottom navigation links #1867

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

zaidhaan
Copy link
Contributor

@zaidhaan zaidhaan commented Mar 8, 2023

Partially addresses #1422.

Only thing left would be making the last item (more menu) focusable (and presumably toggle-able using Space/Enter?). I'm not too experienced with a11y but I've observed the following when making changes to the <label> in the more menu:

  • adding role="button" allows using Space/Enter to toggle on Firefox 110.0. But does not make it focusable
  • adding tabindex="0" makes it focusable / tab accessible but hitting Space/Enter no longer triggers a toggle

Maybe someone could suggest/co-author the proper fix for the more menu so that the linked issue could be closed, or we could just merge this now and address that later.

@stackblitz
Copy link

stackblitz bot commented Mar 8, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Mar 8, 2023

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit 433303f
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/64086b78e02c5c0008831934

@netlify
Copy link

netlify bot commented Mar 8, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit 433303f
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/64086b78474a940008f42a75
😎 Deploy Preview https://deploy-preview-1867--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@patak-dev
Copy link
Member

@zaidhaan would you send this question also to the #a11y channel in https://chat.elk.zone?

@patak-dev patak-dev merged commit 9589bba into elk-zone:main Mar 8, 2023
@zaidhaan zaidhaan deleted the fix-bottom-nav-a11y branch March 8, 2023 13:16
DataDrivenMD pushed a commit to Distal-Labs/elk that referenced this pull request Mar 11, 2023
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.

2 participants