:hover + :focus for accessibility
Be sure to add the :focus pseudo selector to your :hover rulesets. This will ensure that users dependent on keyboard navigation (i.e. persons with motor skill impairments) can identify which element is targeted as they tab through your interface.
Written by Justin H. Johnson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#