Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fix: use label instead of headings for screen reader only titles
Browse files Browse the repository at this point in the history
Closes #594
  • Loading branch information
gillerr committed Dec 11, 2017
1 parent ad79a33 commit 13ba06b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/materials/02-navigation/04-footer/02-social-media.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="container-fluid">
<h3>Informiert bleiben</h3>
<nav class="links-social">
<h4 id="social_media" class="sr-only">Social media</h4>
<ul aria-labelledby="social_media">
<label class="sr-only">Social media</label>
<ul>
<li><a class="icon icon--before icon--twitter" href="#">Twitter</a></li>
<li><a class="icon icon--before icon--facebook" href="#">Facebook</a></li>
<li><a class="icon icon--before icon--rss" href="#">RSS</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
---

<div class="social-sharing">
<h3 class="sr-only">Social media sharing</h3>
<label class="sr-only">Social media sharing</label>
<a href="#" aria-label="Facebook" class="social-sharing-facebook"></a>
<a href="#" aria-label="Twitter" class="social-sharing-twitter"></a>
<a href="#" aria-label="Google+" class="social-sharing-google"></a>
Expand Down

0 comments on commit 13ba06b

Please sign in to comment.