Skip to content

Add accessibility props to scroll container#432

Open
sayedrisat wants to merge 1 commit into
ankeetmaini:masterfrom
sayedrisat:add-accessibility-container-props
Open

Add accessibility props to scroll container#432
sayedrisat wants to merge 1 commit into
ankeetmaini:masterfrom
sayedrisat:add-accessibility-container-props

Conversation

@sayedrisat
Copy link
Copy Markdown

Closes #411. Summary: Extends InfiniteScroll props to accept standard div attributes and forwards them to the inner scroll container, enabling role, aria-label, and tabIndex for accessibility. Added a regression test and README prop documentation. Verification: yarn test --runInBand; yarn test src/tests/index.test.tsx --runInBand; yarn ts-check; yarn build; prettier check on touched files; direct eslint command completed with warnings only (existing warnings).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing props for accessibility

1 participant