a more sweeping disable of the color-contrast

This commit is contained in:
Paul Marbach
2025-12-16 15:28:40 -05:00
parent 206bc6c4d9
commit 9635f8ba4e
@@ -32,6 +32,24 @@ const meta: Meta<StoryProps> = {
controls: {
exclude: ['theme', 'values', 'vizCount'],
},
a11y: {
config: {
rules: [
{
id: 'scrollable-region-focusable',
selector: 'body',
enabled: false,
},
// NOTE: this is necessary due to a false positive with the filered svg glow in one of the examples.
// The color-contrast in this component should be accessible!
{
id: 'color-contrast',
selector: 'text',
enabled: false,
},
],
},
},
},
args: {
barWidthFactor: 0.2,
@@ -299,24 +317,6 @@ export const Examples: StoryFn<StoryProps> = (args) => {
Examples.parameters = {
controls: { include: ['barWidthFactor', 'value'] },
a11y: {
config: {
rules: [
{
id: 'scrollable-region-focusable',
selector: 'body',
enabled: false,
},
// NOTE: this is necessary due to a false positive with the filered svg glow in one of the examples.
// The color-contrast in this component should be accessible!
{
id: 'color-contrast',
selector: 'text',
enabled: false,
},
],
},
},
};
export const MultiSeries: StoryFn<StoryProps> = (args) => {