Address accessibility gaps in Shoelace
See original GitHub issueLet me start off by saying I really like the streamlined approach you’ve taken with this project. It’s nice to see a library like this, using modern CSS. However in looking through the source code, and doing some basic keyboard and screen reader accessibility testing, there are quite a few gaps in coverage that really should be closed to ensure this framework doesn’t perpetuate inaccessible user experiences.
I have submitted a pull request to address the following two issues:
- Set focus states for
<a>
and<button>
elements to provide parity for mouse and keyboard interactions. - An update to the Switch component, as it previously was completely inaccessible to keyboard and assistive technology users.
There are additional accessibility issues that I’d be happy to discuss with you if you are interested in moving forward with these sorts of changes.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Accessibility Commitment - Shoelace
Shoelace recognizes the need for all users, regardless of ability and device, to have undeterred access to the websites and applications that are...
Read more >Shoe Lacing Techniques to Reduce Friction Blisters
There are a couple simple shoe lacing techniques to reduce pressure to the top of the foot and to reduce friction blisters in...
Read more >What is the Small Plastic at the End of Shoelaces?
The small plastic at the end of shoelaces is called an aglet. It helps lace go through the eyelet on shoes so that...
Read more >DIY Tutorials - Shoelace Bling - Cara & Co.
As you string your laces through the holes on your shoes, slip an accent bead on before you reach the final, top holes...
Read more >Shoe Tying Activity - The OT Toolbox
This shoe tying activity uses an egg carton to teach shoe tying skills to kids. Includes shoe tying tips to teach kids to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I figured as much. I’m open to including a small JS snippet in
shoelace.js
if it makes the button accessible. Just let me know how you think it should work and I’ll be happy to work on it.Ah, Firefox. Don’t think we can do anything about that though 😦
https://stackoverflow.com/questions/20095105/input-type-file-focus-adjacent-selector-in-css