Skip to content

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

Open
kumarshobhit-1 wants to merge 1 commit into
payloadcms:mainfrom
kumarshobhit-1:fix-checkbox-accessibility
Open

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

Conversation

@kumarshobhit-1

Copy link
Copy Markdown

Summary

This PR fixes the accessibility issue where row-selection checkboxes in the admin list view did not have an accessible name.

Changes

  • Added support for aria-label in CheckboxInput.
  • Passed a descriptive label from SelectRow.
  • Generated the accessible label using the document's useAsTitle value, falling back to the document ID when unavailable.
  • Added the general.selectRow translation key.
  • Updated client translation keys and translation files.

Fixes #17376

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.

Admin list view: row-select checkboxes have no accessible name (aria-label="" with no aria-labelledby target)

1 participant