Skip to content

fix(ui): resolve card aria-label showing [object Object] for localized strings#17099

Open
gmrnlg1971 wants to merge 3 commits into
payloadcms:mainfrom
gmrnlg1971:fix/card-aria-label-localization
Open

fix(ui): resolve card aria-label showing [object Object] for localized strings#17099
gmrnlg1971 wants to merge 3 commits into
payloadcms:mainfrom
gmrnlg1971:fix/card-aria-label-localization

Conversation

@gmrnlg1971

@gmrnlg1971 gmrnlg1971 commented Jun 24, 2026

Copy link
Copy Markdown

Description

This PR resolves an issue where localized values rendered as [object Object] in the aria-label attribute of cards within the UI. It correctly unwraps the localized string for accessibility attributes.

Additionally, this PR includes a small documentation update regarding explicit shape definitions.

Changes

  • Fixed localization rendering in Card aria-labels.
  • Documented explicit shape definitions.

@gmrnlg1971 gmrnlg1971 changed the title Fix/card aria label localization fix(ui): resolve card aria-label showing [object Object] for localized strings Jun 24, 2026
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.

1 participant