shibro
Show the version of “No actions that only appear on hover”

Responsive · SU-174

No actions that only appear on hover

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Edit and Remove opacity: 0 until :hover
  • Reachable on touch no actions at all
  • Accessible name "Actions for Ana Petrova"
  • Row menu always visible · 40×40

What changes

Bad
On a touch screen there is no hover, so Edit and Remove never appear and every row ends in an empty 40px slot.audit.js: SU-174 warn: revealed only on :hover (.row:hover .actions)
Good
Each row keeps a visible 40×40px menu button named for its person, so touch and keyboard users can reach it.

The rules

  • SU-174

    No actions that only appear on hover. Anything revealed on hover is also revealed on :focus-within, and is always visible on touch screens (@media (hover: none)). Popups opened on hover or focus can be dismissed with Escape, can be hovered without closing, and stay until dismissed.