Jump to the main content.

Tips&Tricks for the modern day web designer

Remove the outline from links on :active only

Submitted by: Mario Kostelac. on May 17, 2010.

Web developers sometimes hide the outline of image replaced links, but then keyboard users have no way of seeing them when they are tabbing through the page. The trick is simple-remove the outline from links on :active only. By doing this, keyboard users still get the default outline when they tab to a link and activate the :focus state.

Read the outside article: Remove the outline from links on :active only

1 Star2 Stars3 Stars4 Stars5 Stars

Loading ... Loading ...