Skip to content

library: drop duplicate title on icon buttons#222

Merged
mrviduus merged 1 commit into
mainfrom
fix/library-ux-tooltip-dupe
May 5, 2026
Merged

library: drop duplicate title on icon buttons#222
mrviduus merged 1 commit into
mainfrom
fix/library-ux-tooltip-dupe

Conversation

@mrviduus
Copy link
Copy Markdown
Owner

@mrviduus mrviduus commented May 5, 2026

Custom CSS tooltip from #221 plus leftover native title="" rendered two tooltips on hover. Drop title; aria-label is the single source for the CSS tooltip + SR.

… wins)

Two tooltips were rendering on the "+" icon button — the new custom
CSS hover tooltip from #221 plus the leftover native title="…" that
the OS surfaces after a ~1s delay. The two messages overlapped
visually for a beat before the OS one timed in.

- Remove `title` from the icon-mode trigger; aria-label remains as
  the single source for the CSS tooltip + screen readers.
- Empty state (no collections) keeps the help message on aria-label
  rather than title, so the tooltip explains why the button is
  disabled the same way every other state explains itself.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mrviduus mrviduus merged commit 74ea1a7 into main May 5, 2026
5 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.

1 participant