Skip to content

Add aria-label to icon-only playback buttons#3495

Merged
MonkeyDo merged 1 commit intometabrainz:masterfrom
yateendogra2109:accessibility-musicplayer-aria-label
Jan 13, 2026
Merged

Add aria-label to icon-only playback buttons#3495
MonkeyDo merged 1 commit intometabrainz:masterfrom
yateendogra2109:accessibility-musicplayer-aria-label

Conversation

@yateendogra2109
Copy link
Copy Markdown
Contributor

Problem

Icon-only controls in the music player (play, pause, next, previous, feedback, etc.) do not currently expose an accessible name to assistive technologies. Although a title attribute is present, it is not reliably used by screen readers as the button’s label, which makes these controls difficult or impossible to identify for users relying on accessibility tools.

Solution

PlaybackControlButton already receives a human-readable title for every control. This change reuses that value to set aria-label on the underlying , ensuring that all playback controls have a proper accessible name. The change is limited to a single shared component and does not affect visual appearance or behavior.

Action

No additional action is required. This change is safe to merge as-is.

Copy link
Copy Markdown
Member

@MonkeyDo MonkeyDo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for improving this :)

@MonkeyDo MonkeyDo merged commit 47a8d8a into metabrainz:master Jan 13, 2026
2 checks passed
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.

2 participants