Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hidden "Share on" from share links text #1916

Merged
merged 1 commit into from
Nov 19, 2020
Merged

Conversation

danacotoran
Copy link
Contributor

The share links component has "Share on" as visually hidden text by default.
This helps AT users make sense of the links (ie "Share on Facebook" makes more sense than just "Facebook").

It looks like government-frontend is also adding a hidden "Share on" as part of the share links text. This is causing an issue where hidden content is being repeated e.g. "Share on Share on Facebook".

Screenshot 2020-11-17 at 17 56 27

https://trello.com/c/shAQ6AQu/460-social-media-links-repeat-hidden-content-bug


⚠️ This application is Continuously Deployed: ⚠️

  • Merged changes are automatically deployed to staging and production.

  • Make sure you follow the guidance for deployments before you merge.

  • Check your branch is being deployed in the Release app, after merging.

@bevanloon bevanloon temporarily deployed to government-f-shareon-sh-jkt6u9 November 17, 2020 18:07 Inactive
@danacotoran danacotoran marked this pull request as ready for review November 17, 2020 18:07
@bevanloon bevanloon temporarily deployed to government-f-shareon-sh-jkt6u9 November 17, 2020 18:15 Inactive
The share links now have "Share on" as visually hidden text by default.
This helps AT users make sense of the links (ie "Share on Facebook"
makes more sense than just "Facebook").

Therefore it is not necessary to add this visually hidden text on the
rendering app side.
@bevanloon bevanloon temporarily deployed to government-f-shareon-sh-jkt6u9 November 17, 2020 18:21 Inactive
Copy link
Contributor

@injms injms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔁 🚫

👍

@alex-ju alex-ju merged commit 64ae9d5 into master Nov 19, 2020
@alex-ju alex-ju deleted the shareon-shareon branch November 19, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants