Sunday, June 13, 2010

CSS Hover

Anton Peck has an interesting article that, after reading it, seems like it should have been obvious to me before. He recommends that when styling elements using the :hover pseudo-class, you should also use the :focus-pseudo class (using the same style). This will give users who use the tab key to navigate through links on your web site the same visual cue as to which link they are on, as those who use the mouse. I'll definitely be implementing this in my future web site designs.

No comments:

Post a Comment