You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add role="list" to the react-infinite-scroll-component top div so screenreaders can announce how many children are under this list, however there is no way to add it under the existing props so screenreaders cannot announce items inside the infinity scroll list correctly.
Hey @YuridiaLarios, thanks for filing this! The fix shipped in v7.2.1 — you can now pass role, aria-label, aria-labelledby, and any other aria-* attribute directly to the component:
Activity
iamdarshshah commentedon Jun 6, 2026
Hey @YuridiaLarios, thanks for filing this! The fix shipped in v7.2.1 — you can now pass
role,aria-label,aria-labelledby, and any otheraria-*attribute directly to the component:Thanks to @sayedrisat for picking this up and implementing it!