Created
July 10, 2016 14:19
-
-
Save tamirko/fd86f6d784ff41339a8f527889b94477 to your computer and use it in GitHub Desktop.
aria-labelledby - good for accessibility ?
This file contains hidden or 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
<span role="img" aria-labelledby="ddd" title="This is my bg image title" class="my_class_bg_image"> | |
<span id="ddd">This is my text which is shown when the image cannot be loaded, | |
but it's also there and invisible and when the image load succeeds | |
</span> | |
</span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment