Archive for the ‘focus’ Category

Removing that ugly :focus ring (and keeping it too)

Posted on: No Comments
David Gilbertson: Removing the focus outline is like removing the wheelchair ramp from a school because it doesn't fit in with the aesthetic. So David shows how you can remove it unless you detect that the user is tabbing, then show it. Essentially you...

Focus Styles on Non-Interactive Elements?

Last month, Heather Migliorisi looked at the accessibility of Smooth Scrolling. In order to do smooth scrolling, you: Check if the clicked link is #jump link Stop the browser default behavior of jumping immediately to that element on the page Animate ...