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

Commit

Permalink
fix(socialSharing): add a heading for screen reader
Browse files Browse the repository at this point in the history
  • Loading branch information
gillerr committed Dec 7, 2017
1 parent 2b884d7 commit 72aeb1f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
9 changes: 5 additions & 4 deletions src/locales/de/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,14 @@ functions:
Derzeit werden Facebook, Twitter, Google+, Xing und LinkedIn unterstützt. Weitere Netzwerke können mit dem betreffenden [Open Graph](http://ogp.me/) meta tag hinzugefügt werden.
release: |
**2.1.1:**
- added the `.social-sharing` class to the `#social-sharing` element
**3.3.0:**
- added a heading for screen readers
**3.1.1:**
- added `xing` and `linkedin` icons for social sharing
**2.1.1:**
- added the `.social-sharing` class to the `#social-sharing` element
downloading-files:
title: Datei download
help: Links, mit denen eine Datei geladen werden kann, sind immer mit einem vorangestellten Dokument-Icon gekennzeichnet.
Expand Down
9 changes: 5 additions & 4 deletions src/locales/en/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,14 @@ functions:
At the moment, Facebook, Twitter, Google+, Xing and LinkedIn are supported. Just add the correct [Open Graph](http://ogp.me/) meta tags to get the preview images and descriptions.
release: |
**2.1.1:**
- added the `.social-sharing` class to the `#social-sharing` element
**3.3.0:**
- added a heading for screen readers
**3.1.1:**
- added `xing` and `linkedin` icons for social sharing
**2.1.1:**
- added the `.social-sharing` class to the `#social-sharing` element
downloading-files:
title: Downloading files
help: Links with which a file can be downloaded are always preceded by a document icon.
Expand Down
9 changes: 5 additions & 4 deletions src/locales/fr/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,14 @@ functions:
Actuellement, cette fonction est compatible avec Facebook, Twitter, Google+, Xing et LinkedIn. D’autres réseaux peuvent être ajoutés à l’aide de la balise meta concernée [Open Graph](http://ogp.me/).
release: |
**2.1.1:**
- classe `.social-sharing` ajoutée à l’élément `#social-sharing`
**3.3.0:**
- ajout d'un titre pour les lecteurs d'écran
**3.1.1:**
- ajout des icones `xing` et `linkedin` pour le partage social
**2.1.1:**
- classe `.social-sharing` ajoutée à l’élément `#social-sharing`
downloading-files:
title: Téléchargement de fichier
help: Les liens permettant de télécharger un fichier sont toujours signalés par une icône «document» qui les précède.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
---

<div class="social-sharing">
<h3 class="sr-only">Social media sharing</h3>
<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 72aeb1f

Please sign in to comment.