Skip to content

Instantly share code, notes, and snippets.

@jeremyboggs
Last active August 29, 2015 14:07
Show Gist options
  • Save jeremyboggs/b79433ff05478218ec73 to your computer and use it in GitHub Desktop.
Save jeremyboggs/b79433ff05478218ec73 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bulletproof Accessible Icon Test</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<style type="text/css" media="screen">
.audible {
clip: rect(0 0 0 0);
overflow: hidden;
position: absolute;
height: 1px;
width: 1px;
}
</style>
</head>
<body>
<a class="audible" href="#main">Skip to main content</a>
<a class="url twitter" href="https://twitter.com/scholarslab">
<i class="fa fa-twitter" aria-hidden="true"></i>
<span class="audible">Twitter</span>
</a>
<a class="url facebook" href="https://www.facebook.com/scholarslab"><i class="fa fa-facebook" aria-hidden="true"></i><span class="audible">Facebook</span></a>
<a class="url github" href="https://github.com/scholarslab/"><i class="fa fa-git" aria-hidden="true"></i><span class="audible">Github</span></a>
<a class="url google" href="https://plus.google.com/114472010795641313811">
<i class="fa fa-google" aria-hidden="true"></i><span class="audible">Google</span></a></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment