redesign
redesign copied to clipboard
a11y: bad markup and keyboard for tabs
https://next.smashingmagazine.com/printed-books/
The UL for the tabs has a role="tablist" but the anchors don't have role="tab". The LI should also have role="presentation" so the correct number of tab items are read out.
Additionally when using tabs they should work with the right/down arrow for next tab and left/up arrow for previous tab.