Created
May 30, 2017 22:56
-
-
Save sandrina-p/3ddea32f93f6c74c37634b05b3ac7280 to your computer and use it in GitHub Desktop.
contact-separate-purposes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- used only for semantic purposes - screen readers | |
".srOnly" is used to visually hide an element but still be accessible by SR --> | |
<h4 class="srOnly">Social Networks</h4> | |
<!-- used for visual purposes - | |
PRO TIP: despite having aria-hidden=true, the element can be used as aria-labelledby target! --> | |
<span class="sn-title" id="sn-title" aria-hidden="true">Social Networks</span> | |
<a href="codepen.com/sandrina-p" target="_blank" title="sandrina's Codepen" class="sn-link" | |
data-title="Codepen" data-descr="Because coding without fun is just boring" | |
aria-labelledby="sn-title sn-descr"> | |
<i class="fa fa-codepen sn-icon" aria-hidden="true"></i> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment