3 ms·
Note that this example he gives is not accessible: https://codepen.io/victorcopque/pen/OVxRbq https://codepen.io/victorcopque/pen/OVxRbq A keyboard user cannot
by chadlavi 6y ago
Note that this example he gives is not accessible: https://codepen.io/victorcopque/pen/OVxRbq https://codepen.io/victorcopque/pen/OVxRbq
A keyboard user cannot access the hidden checkbox that controls showing/hiding the menu.
- mariusor 6y agoI wonder if a better usability example would use the <details> and <summary> elements, which support collapsing/uncollapsing.
- mariusor 6y agoI've improved the demo with <details>/<summary> and fixed the erroneous list elements form the original: https://habarnam.ro/s/demo.html https://habarnam.ro/s/demo.html