Match hover with focus
Hard
Rule. Show on keyboard focus whatever hover shows, and give every pressable thing a hover state.
Why. A keyboard user needs the same actions, and a hover state shows that a thing is live.
- Give each button, row, tab, link, and menu item a hover state.
- Show the focus ring and the hover state together when both apply.
- Focus ring: Rule 15.12. Dismissing hover content: Rule 15.29.
Figure. The same two actions show for the pointer and for the keyboard.