BoltColor
Color item displaying the color as a block with AA color contrast tests. Design inspired by Bolt.
Name | Description | Default | Controls |
---|---|---|---|
name | name of the color, If none, or same as the color value, some color blocks will not display it string | - | |
color | color value as a string. accepted hex, rgb, hsl color strings ColorValue | - |
var(--bolt-color-navy) | ||
Text size | Aa | Aa |
#ffffff (4.55) | pass | pass |
#000000 (4.62) | pass | pass |
id | description | |
---|---|---|
aria-allowed-role | Ensures role attribute has an appropriate value for the element... | |
aria-hidden-focus | Ensures aria-hidden elements do not contain focusable elements... | |
avoid-inline-spacing | Ensure that text spacing set through style attributes can be adjusted with custom stylesheets... | |
color-contrast | Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds... | |
table-duplicate-name | Ensure the <caption> element does not contain the same text as the summary attribute... | |
td-headers-attr | Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table... | |
th-has-data-cells | Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe... |
var(--bolt-color-navy) | ||
Text size | Aa | Aa |
#ffffff (4.55) | pass | pass |
#000000 (4.62) | pass | pass |
var(--bolt-color-navy) | ||
Text size | Aa | Aa |
#ffffff (4.55) | pass | pass |
#000000 (4.62) | pass | pass |
var(--bolt-color-navy) | ||
Text size | Aa | Aa |
#ffffff (4.55) | pass | pass |
#000000 (4.62) | pass | pass |
var(--bolt-color-navy) | ||
Text size | Aa | Aa |
#ffffff (4.55) | pass | pass |
#000000 (4.62) | pass | pass |