Skip to content

fix(vidstack): support custom player aria label#1821

Merged
mihar-22 merged 1 commit into
mainfrom
codex/1734-player-aria-label
May 26, 2026
Merged

fix(vidstack): support custom player aria label#1821
mihar-22 merged 1 commit into
mainfrom
codex/1734-player-aria-label

Conversation

@mihar-22

Copy link
Copy Markdown
Member

Summary

  • add a core ariaLabel player prop mapped to the aria-label attribute
  • use a provided label instead of regenerating the root player label from English media words
  • keep the existing generated label fallback when no custom label is provided

Fixes #1734.

Validation

  • pnpm --filter vidstack typecheck
  • pnpm --filter @vidstack/react typecheck

No focused component test exists for the root player label path.

@mihar-22 mihar-22 marked this pull request as ready for review May 26, 2026 07:02
@mihar-22 mihar-22 merged commit 5fc780e into main May 26, 2026
1 check passed
@mihar-22 mihar-22 deleted the codex/1734-player-aria-label branch May 26, 2026 07:02
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.

Add translation support for root player aria-label

1 participant