Domanda

When using anchors around buttons or images, they create a dotted outline if they are clicked on or in focus. I like to disable these outlines through CSS, but I have read about problems with keyboard based users (browsing a site without a mouse).

What is your experience with the outline property? I think they look incredibly trashy but I've always had qualms with disabling outlines.

È stato utile?

Soluzione

The problem is that users without the mouse won't be able to know which link currently has focus.

I often disable the dotted outline, but consider adding different styles for :focus or :active.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top