Skip to content

fix(ui): add accessible name to row select checkboxes#17486

Open
deepshekhardas wants to merge 1 commit into
payloadcms:mainfrom
deepshekhardas:fix/pr-17402-checkbox-accessibility
Open

fix(ui): add accessible name to row select checkboxes#17486
deepshekhardas wants to merge 1 commit into
payloadcms:mainfrom
deepshekhardas:fix/pr-17402-checkbox-accessibility

Conversation

@deepshekhardas

Copy link
Copy Markdown
Contributor

Rebased on latest upstream/main with conflict resolution.

Conflicts resolved:

  • packages/ui/src/elements/SelectRow/index.tsx: renamed selectRowLabel prop to rowLabel
  • packages/ui/src/fields/Checkbox/Input.tsx: merged PR's accessible label logic with upstream's aria-labelledby prop
  • packages/ui/src/utilities/renderTable.tsx: replaced getSelectRowLabel helper with inline computed rowLabel using i18n

Original author: @kumarshobhit-1

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants