Implement token for accessible border width
See original GitHub issueon tabs/etc that use a border to highlight the current location, the border should be a minimum of 3px
to meet accessibility standards. this is a a thing i’ve had to implement in a couple places on the website.
i recommend making a new token for this width, and then doing a pass thru all of our components to make sure any 2px borders are bumped up to this
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Border Radius Tokens
Create a Border radius token under the Border radius category by clicking on the + icon. Enter a name for your token and...
Read more >Border | U.S. Web Design System (USWDS)
Note: The border utilities apply a solid border of specified width. If no width is specified, the utilities apply a solid 1px border....
Read more >Design Tokens - Lightning Design System
Use radius tokens to change the border-radius size (rounded corners). Token, Example, Released, Themeable, Support. $border-radius-circle. Circle for global use ...
Read more >Border Width | Citizens Design System - Website (v3.18.0)
Example Description Token
visual example of border‑width: 0 Border Width: None. 0px border width. $cbds‑tkn‑bord...
visual example of border‑width: 8px Border Width: Large. 8px border...
Read more >Border Radius Tokens - Shoelace
Border radius tokens are used to give sharp edges a more subtle, rounded effect. They use rem units so they scale with the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thoughts on naming/organization of this token:
i asked @aagonzales over slack about filing this under a
layout
orspacing
name. anna said:good note on a set of
sizing
tokens.@shixiedesign
sizing
token category might be good for the button borders you mentioned as well!@asudoh you’re right! transferred here to
carbon-elements
😃