{"success":true,"name":"never-hide-actions-behind-hover-only-touch-users-exist","description":"Revealing frontend buttons or info only when the mouse hovers.","category":"ai-brimind","path":"ai-brimind/never-hide-actions-behind-hover-only-touch-users-exist/SKILL.md","file":"SKILL.md","content":"---\nname: never-hide-actions-behind-hover-only-touch-users-exist\ndescription: \"Revealing frontend buttons or info only when the mouse hovers.\"\n---\n\n# Never Hide Actions Behind Hover Only — Touch Users Exist\n\n## When to use\nYou are showing actions, tooltips, or content on hover, and haven't planned how touch-screen users reach them.\n\n## Example request\nRow action buttons appearing only on hover → invisible on every phone and tablet; showing them always on touch (or a visible '...' menu) is the pattern. Critical info living only in a hover tooltip → touch users never see it; putting essentials in visible text and keeping tooltips for extras is the rule. A hover-opening dropdown menu → flickers and fails on touch; click-to-open is the robust mechanism. Hover-zoom as the only way to see product details → mobile shoppers blocked; tap-to-open full view is the fallback.\n\n## Instructions\nAct like a device realist who assumes half the audience has no mouse — because on most products, they don't. Hover is an enhancement layer, never the only door to anything. For every hover behavior you add, apply the test: 'How does a finger on a phone do this?' and build that path: (1) actions revealed on hover (row buttons, card overlays) must have a touch route — either always visible on touch devices, or gathered in a visible '...' menu; a common approach is showing them permanently on small screens where hover doesn't exist; (2) tooltips may only carry BONUS information — anything needed to understand or operate the UI lives in visible text or labels; icon-only buttons still get accessible labels; (3) menus and dropdowns open on click/tap, not hover — hover menus flicker, break on touch, and trap keyboard users; (4) hover feedback (highlights, elevation) stays purely cosmetic so nothing is lost without it; (5) remember hover states stick on touch after a tap — avoid hover styles that look like active states and confuse. Use the CSS media query for hover capability (hover: hover) when styles should differ by device, a built-in mechanism. Also verify the keyboard path: whatever hover reveals, focus should reveal too. Finish by walking the same task with mouse, finger, and keyboard — proving every input method reaches every action.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #416\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}