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

Accessibility #5

Open
acnorrisuk opened this issue Aug 7, 2019 · 1 comment
Open

Accessibility #5

acnorrisuk opened this issue Aug 7, 2019 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@acnorrisuk
Copy link

acnorrisuk commented Aug 7, 2019

Looks like you've done a good job with making things accessible which is great! Looking through I found a couple of things which could be improved.

  • The nav button should really be a <button> which toggles aria-expanded when it is clicked. It also needs an accessible name adding
  • Opening the nav should trap focus inside the nav until it is closed via the button (or the escape key is pressed)
  • Opening the modal should trap focus inside the modal until it is closed via the button (or the escape key is pressed)
  • The modal close button should really be a <button>. It also needs an accessible name adding

If you want to find out more about these issues and how to fix them I'd recommend Rob Dodson's A11ycasts series on YouTube. https://www.youtube.com/playlist?list=PLNYkxOF6rcICWx0C9LVWWVqvHlYJyqw7g

@nisarhassan12
Copy link
Owner

@acnorrisuk 🙂 Thanks! a lot! for doing this deep accessibility review. I once did a lighthouse audit which gave me a score of 100 and also stated that there are a few things to check manually for accessibility and I think you pointed out most of them I will look into the A11casts series.
image

@nisarhassan12 nisarhassan12 added good first issue Good for newcomers help wanted Extra attention is needed labels May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants