Accessibility · Middle · Question 61 of 75
A virtualized list renders only 20 of 10,000 items. What helps screen readers?
- 1
aria-setsizeandaria-posinseton the items - 2
aria-hiddenon items outside of the viewport - 3
aria-live="assertive"on the list container
Show the answer
Correct answer: aria-setsize and aria-posinset on the items
Explanation
These tell users "item 150 of 10,000" although most items aren't in the DOM. Keyboard focus also has to survive recycling.