fix(ui): use a focusable div for the lyrics resizer and hide the decorative lyrics icon

A button with role=separator mixes button activation semantics into the
resizer; a tabbable div keeps it a plain focusable separator. The lyrics
toolbar icon is decorative since its button already has an aria-label.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016L1sBqsygMkdhf583gTEnE
This commit is contained in:
Claude 2026-10-15 10:09:43 +00:00
parent 99e5cdc430
commit d5fb60bfe2
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -256,8 +256,8 @@ const LyricsSidebar = ({
aria-hidden={!interactive}
inert={interactive ? undefined : ''}
>
<button
type="button"
<div
tabIndex={0}
ref={resizerRef}
className={classes.resizer}
data-testid="lyrics-sidebar-resizer"

View File

@ -130,6 +130,7 @@ const PlayerToolbar = ({
aria-pressed={lyricsActive}
>
<RiFileMusicLine
aria-hidden="true"
className={!isDesktop ? classes.mobileIcon : undefined}
/>
</IconButton>