Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top