Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Accessibility engineering review for Link component. #3317
Accessibility engineering review for Link component. #3317
Changes from 23 commits
66e6403
4589960
9f40db6
d37e430
a206550
c1c1242
c8bb536
9d40e3f
c518bb5
df75238
a90c33e
e19891d
38695a4
42e3ceb
20288a4
0ad1a40
07f7e8b
2176bc9
8c262c3
ed6256c
ec88a54
fed6236
e9988c5
bf6b5e8
00cad18
e21b94e
97ba614
d873d9e
8de413b
48e36e2
1a2b644
41fcb98
b40594d
70476d0
1103d06
6e4e560
aed4851
6ad63d5
3fc73f8
1e320d7
9684a5c
dbfe69d
1e1cc7e
4aba402
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way you could test this in some of our React apps? I like the idea of it, but I feel like this could easily cause unexpected visual changes. Underlined in a body of text probably won't ruffle any feathers, but there's probably some cases where its not a body of text and more like one line of text as part of a UI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be happy to test it out, but I don't have a clue where to start with that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @langermank , but also have no idea where to start. @colebemis - maybe you can help?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if this is a blocker then we could wait until we receive more guidance on
Link
and underline usage across Primer. I know this is the case for the PVCLink
accessibility fixes, so if this is required here too then I think it's okay to come back to this.If we wanted to test this we'd probably have to query up the usage of PRC
Link
across GitHub and find the instances where this component is a descendant of a paragraph element, though I would love to know if there are better ways to go about this. From a very quick look, this seems like an uncommon pairing, so there might not be too much friction, but that's only from a small sample size.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @TylerJDev that this may be better solved more holistically through upcoming work to determine underline styles for links in https://github.com/github/primer/issues/2099.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rolled back the changes around styling links in text. This way, we can merge in the
as
restriction, and let the more holistic work handle this issue.