-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
dont display outline when interacting with links #1293
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1293 +/- ##
======================================
Coverage 14.1% 14.1%
======================================
Files 201 201
Lines 4609 4609
Branches 494 502 +8
======================================
Hits 650 650
+ Misses 3532 3523 -9
- Partials 427 436 +9
Continue to review full report at Codecov.
|
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.
Hey thanks for the PR!
I get it's ugly, but it's vital for keyboard usage.
Removing it without any other feedback is not really an option.
Can you find a solution so keyboard users do get feedback what they have focussed?
@moimikey thanks for the fix! i'm wondering whether the style should be scoped somehow? right now it's a global change and that feels a little dirty to me? |
+1 on accessibility. it's nice to have it highlighted for kb usage. |
I wonder whether the use case of keyboard navigation includes stories switching (if it's about |
I'm interested in a quick-win fix for this that does not entail completely remove the focus styling. In the long run I'll be moving our UI components and change the way styling works using glamorous. Please re-open if you can find a good style for focussed items 👍 |
Issue:
What I did
This simply adds a line of css to react (and not native since it's not through a browser) to get rid of the visually disturbing outline that shows when you click on hyperlinks.
How to test
You'll simply not see the box shadow anymore.
Where previously you could: