From 58714e0e2a1fe0d772967a087d971b76f883b5ad Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Mon, 27 Jul 2026 21:43:52 -0500 Subject: [PATCH] docs(desktop): tip only when hover teaches something new MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop the blanket "every icon* button needs a Tip" rule — it produced tautological kebab tips like "Actions for ". Menu triggers keep aria-label; tips stay for unlabeled discovery chrome and keybind hints. --- apps/desktop/DESIGN.md | 41 +++++++++++-------- .../ui/__tests__/no-native-title.test.ts | 6 +-- 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/apps/desktop/DESIGN.md b/apps/desktop/DESIGN.md index a9d585441ff1a..4b4c62d6f03f9 100644 --- a/apps/desktop/DESIGN.md +++ b/apps/desktop/DESIGN.md @@ -117,20 +117,28 @@ that sit inside a heading/sentence; replaces `h-auto px-0 py-0`), `micro` (status-stack/table-footers), and the icon family `icon` / `icon-xs` / `icon-sm` / `icon-lg` / `icon-titlebar`. -**Icon-only buttons must have a tooltip.** Every button with an `icon*` size -carries no visible text label, so it must be wrapped in `` -with a descriptive label (matching the button's `aria-label`). Never use the -native HTML `title=` attribute — it's unstyled, delayed (~500ms OS default), -and visually inconsistent with the instant themed `Tip`. An enforcement test -(`src/components/ui/__tests__/no-native-title.test.ts`) fails on any `