You-Dont-Need-JavaScript
You-Dont-Need-JavaScript copied to clipboard
Needs accessibility rules
Some of these examples do not work with keyboard only navigation.
A lot of these examples would not work well for those with impairments that relay on web accessibility best practices to use web sites. This should be called out in your readme.
A lot of these examples are really funny from a CSS point of view, but are really bad for accessibility:
- modals without JS don't trap the keyboard focus in them
- accordions are not working with keyboard
- other will be vocalized as form elements
- etc.
Please add a notice that these examples are proofs of concept, but really lack for accessibility.
While many of these patterns are anti-patterns, they are pretty cool :) A little note in the readme about how they could harm accessibility could be a solve.
I think the note has been added, should the topic be closed?
PR welcome
can u assign this to me ?