Skip to content

Commit

Permalink
Restore hidden text in share links
Browse files Browse the repository at this point in the history
- followed a change to the component that removed this by default, adding it back in specifically for this usage of the component ("Share on")
  • Loading branch information
andysellick committed Jun 15, 2018
1 parent dbb14db commit 91d6602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/presenters/content_item/shareable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ def share_links
[
{
href: facebook_share_url,
text: 'Facebook',
text: '<span class="visually-hidden">Share on </span>Facebook'.html_safe,
icon: 'facebook'
},
{
href: twitter_share_url,
text: 'Twitter',
text: '<span class="visually-hidden">Share on </span>Twitter'.html_safe,
icon: 'twitter'
}
]
Expand Down

0 comments on commit 91d6602

Please sign in to comment.