Accessibility · Middle · Question 56 of 75
A scrollable code block or table isn't reachable by keyboard. What helps?
- 1
tabindex="0"with a name and a suitable role - 2
overflow: visibleon the page's root element - 3
aria-hidden="true"on the scrollable content
Show the answer
Correct answer: tabindex="0" with a name and a suitable role
Explanation
Keyboard users need focus to scroll it with arrow keys. Some browsers do this automatically, but not all.