Skip to main content
InterviewHubPRO
Section Overview
Q31

Question 31 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

62%
Web Accessibility & WCAG (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Virtualized Lists & Infinite Scrolls: Preserving Accessibility.

senior LevelSystem Design

In Simple Words: Virtualized lists (React Virtual, FlatList) unmount off-screen items from the DOM, corrupting total list count for screen readers:

  • Use aria-setsize="5000" (total dataset size) and aria-posinset="142" (current item position) on rendered list items so screen readers announce: "Item 142 of 5,000".