www.jsdelivr.com
www.jsdelivr.com copied to clipboard
Clickable elements of package file browser & copy dropdown aren't accessible
Screenshot of the package file browser taken with tabbing order annotations enabled in the "Accessibility" tab of Firefox devtools:
We should probably add:
- The breakcrumb, parent directory, directory and show more links aren't keyboard accessible.
- These are already
<a>
s, but withouthref
s. Specifytabindex="0"
explicitly.
- These are already
- The copy to clipboard buttons (and therefore the copy dropdown) aren't keyboard accessbile.
- The add to collection switch isn't keyboard accessible.
-
Toggle button role for the
<label>
.
-
Toggle button role for the