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

docs(type): update link to type styles in README #5058

Merged
merged 9 commits into from
Jan 17, 2020
Merged

docs(type): update link to type styles in README #5058

merged 9 commits into from
Jan 17, 2020

Conversation

jendowns
Copy link
Contributor

Currently this link to color tokens on the @carbon/type README just leads to the homepage, due to the deprecated next subdomain.

Also the use of "here" as link text is not very accessible, as someone using a screenreader who skips to the link won't have info in the link text about where the link goes.

Changelog

Changed

  • update link to type styles on the Carbon website
  • update link text to reference Carbon website as destination

@jendowns jendowns requested a review from a team as a code owner January 15, 2020 22:31
@@ -85,7 +85,7 @@ what we call type styles. These tokens have a variety of properties for styling
how text is rendered on a page.

You can find a full reference of the type styles that are available
[here](https://next.carbondesignsystem.com/guidelines/typography/productive) .
[Carbon Design System website](https://www.carbondesignsystem.com/guidelines/typography/productive) .
Copy link
Contributor

@joshblack joshblack Jan 15, 2020

Choose a reason for hiding this comment

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

Should we update the sentence? Could you explain more about the accessibility shortcoming?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I mean to update the sentence completely, to avoid having link text that just says "here"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh sorry just noticed your edit --

Here's two quick resources I found to explain this:

In addition to the reasons about context provided in those links, if you are using a screenreader + tabbing between focusable elements you may just hear "Link Here" or "Link Click here" which isn't helpful.

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @jendowns!

@netlify
Copy link

netlify bot commented Jan 15, 2020

Deploy preview for the-carbon-components ready!

Built with commit 5607773

https://deploy-preview-5058--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Jan 15, 2020

Deploy preview for carbon-elements ready!

Built with commit 5607773

https://deploy-preview-5058--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Jan 15, 2020

Deploy preview for carbon-elements failed.

Built with commit 19dc544

https://app.netlify.com/sites/carbon-elements/deploys/5e22047195add0000950d5ff

@netlify
Copy link

netlify bot commented Jan 15, 2020

Deploy preview for carbon-components-react ready!

Built with commit 19dc544

https://deploy-preview-5058--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Jan 15, 2020

Deploy preview for the-carbon-components ready!

Built with commit 19dc544

https://deploy-preview-5058--the-carbon-components.netlify.com

@asudoh
Copy link
Contributor

asudoh commented Jan 16, 2020

@joshblack Just in case you have further comments - Thanks!

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

👍

@joshblack joshblack merged commit 35b7999 into carbon-design-system:master Jan 17, 2020
joshblack added a commit to joshblack/carbon that referenced this pull request Jan 23, 2020
…m#5058)

* docs(type): update link to type styles in README

* docs(type): update README text for context

* chore: format type package README doc

Co-authored-by: emyarod <[email protected]>
Co-authored-by: Josh Black <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants