Accessibility · Middle · Question 61 of 75

A virtualized list renders only 20 of 10,000 items. What helps screen readers?

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.

Further reading

Problem with a question

Accessibility · Middle · question 61

Test yourself

Take the Accessibility · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz