Skip to content

Conversation

@git-nandor
Copy link
Contributor

@git-nandor git-nandor commented Jan 20, 2026

INSTUI-4896

Summary

The standalone link had to be fixed due to an a11y requirement: interactive links must be underlined on interaction.
In addition, the Link component was rendering incorrectly and didn’t handle the new icons properly, so I fixed the way icons are rendered.

Test plan

Please check that standalone links also receive an underline during interaction (on hover or when tabbing). Also, verify that all links are displayed correctly on the documentation page.

@git-nandor git-nandor self-assigned this Jan 20, 2026
@github-actions
Copy link

github-actions bot commented Jan 20, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2374/

Built to branch gh-pages at 2026-01-23 14:50 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@git-nandor git-nandor force-pushed the INSTUI-4896_fix_standalone_link branch from ff7310f to 36e44f9 Compare January 20, 2026 16:56
@git-nandor git-nandor marked this pull request as ready for review January 20, 2026 17:12
Comment on lines -181 to -182
? componentTheme.hoverTextDecorationWithinText
: componentTheme.hoverTextDecorationOutsideText
Copy link
Collaborator

Choose a reason for hiding this comment

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

These tokens are unused now, can you ask design to delete them?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll delete them!

'&:hover, &:active': {
'&:hover, &:active, &:focus': {
color: componentTheme.textHoverColor,
textDecoration: isWithinText
Copy link
Collaborator

@matyasf matyasf Jan 21, 2026

Choose a reason for hiding this comment

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

isWithinText is not used now, you can remove it from this file

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@git-nandor git-nandor force-pushed the INSTUI-4896_fix_standalone_link branch from 36e44f9 to e309c9d Compare January 23, 2026 07:58
@git-nandor git-nandor force-pushed the INSTUI-4896_fix_standalone_link branch from 01a1903 to a7a01b6 Compare January 23, 2026 14:45
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.

4 participants