Remove outline on focus for consistent link and button styling #41194
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.
Description
I removed the outline from buttons when focused via keyboard navigation, causing a white border to appear around buttons while links remain without a border.
Please let me know if I missed anything! 😊
Before 🤔:
![chrome_fiYIotJpOv](https://private-user-images.githubusercontent.com/139472418/408102518-4e435d6f-94b0-4ebf-a8db-67de83f756d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODYxNDMsIm5iZiI6MTczOTI4NTg0MywicGF0aCI6Ii8xMzk0NzI0MTgvNDA4MTAyNTE4LTRlNDM1ZDZmLTk0YjAtNGViZi1hOGRiLTY3ZGU4M2Y3NTZkMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxNDU3MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05M2M4Nzg4Y2RlMzhkYTg3MGQ2OWQ1ZjY4YjcyZjQ3MTZhODA2N2M0NDMwOWJiZDY0M2RlM2MxYWE5M2JlMWFjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.6HiNXnGmEEQqN8Ps2ErLwBjFMCWTVaQgiuuRkivehGM)
After 😊:
![chrome_qROkcSSgxo](https://private-user-images.githubusercontent.com/139472418/408102569-010e6b36-863f-4d3b-8ddd-8a4225e09805.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODYxNDMsIm5iZiI6MTczOTI4NTg0MywicGF0aCI6Ii8xMzk0NzI0MTgvNDA4MTAyNTY5LTAxMGU2YjM2LTg2M2YtNGQzYi04ZGRkLThhNDIyNWUwOTgwNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxNDU3MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZWIwNDY4NzcyMTA0NzQwMDEwNzI1OWY1NmMzZmYwMmNlZjc0ZDc1NjA1YjhjZGUwMDIxMjYzZjJlOWM5MjczJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1cE63GlquVMhql4OPNDs8DODJhWlRGlUyIHKzUjWl98)
Motivation & Context
Links and buttons will now have the same style when navigating with the keyboard
Type of changes
Checklist
npm run lint
)Live previews