Skip to content

Instantly share code, notes, and snippets.

@ckschmieder
Created October 24, 2018 15:36
Show Gist options
  • Save ckschmieder/fecd38004096c672c13d5b7cc128d0d7 to your computer and use it in GitHub Desktop.
Save ckschmieder/fecd38004096c672c13d5b7cc128d0d7 to your computer and use it in GitHub Desktop.
Code to help meet AA standard 2.4.7 should it be needed
:focus {
outline: -webkit-focus-ring-color auto 5px;
}
a[href]:focus, a[href]:hover {
background: #f8f8f8;
background: rgba(75%, 75%, 75%, .25);
border-bottom-width: 3px;
margin-bottom: -2px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment