-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Link]: Inline option should be same color as text and underlined by default #3581
Comments
We are just using the link component directly from Carbon https://www.carbondesignsystem.com/components/link/code @dakahn any input on the a11y for this? |
Moving this to the Carbon repo because we use their Link component and it should be resolved there. I believe this is an actual issue for inline links. Per WCAG:
|
@dakahn curious if you have any insights here. |
color alone cannot distinguish the inline link for sure. There must be an underline otherwise many cannot see the link at all making it pointless. Even in many cases that are not inline I recommend using the underline but optional is good. Example of no underline are anchor links and links in footer. |
@dakahn IMO this issue can be handled in the documentation. According to the Carbon Component usage documentation, links should be used primarily as navigational elements, and the style section has examples of horizontal and vertical link groups which are considered navigational links that are visually evident from the page design and context, as described in https://www.w3.org/TR/WCAG20-TECHS/F73.html, the failure is when links are used within the text, such as links in a paragraph or items in a list where some are different than others and are presented in colored text. See https://www.w3.org/TR/WCAG20-TECHS/G182.html. |
Adding the additional requirement that the text-decoration should have the appropriate thickness in browsers that support defining this new property (Firefox, Safari, Safari IOS). The feature is not yet supported in Edge or Chrome. |
The Technique we want to use is underline as the very articles use in the above links. We do not want inline links to bold or Italic. |
@mjabbink per WCAG 2.0, an inline link is considered accessible if it has a 3:1 contrast ratio and an additional distinction is provided on hover. |
Design requirements:
|
We went ahead and overrode/removed the |
👍 |
No description provided.
The text was updated successfully, but these errors were encountered: