سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top