forked from emulsify-ds/emulsify-wordpress-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
a11y.config.js
62 lines (62 loc) · 1.99 KB
/
a11y.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
module.exports = {
storybookBuildDir: '.out',
pa11y: {
includeNotices: false,
includeWarnings: false,
runners: ['axe'],
},
// A11y linting is done on a component-by-component
// basis, which results in the linter reporting some errors that
// should be ignored. These codes and descriptions allow for those
// errors to be targeted specifically.
ignore: {
codes: ['landmark-one-main', 'page-has-heading-one'],
descriptions: ['Ensures all page content is contained by landmarks'],
},
// List of storybook component IDs defined and used in this project.
components: [
'base-colors--palettes',
'base-motion--usage',
'atoms-button--react',
'atoms-button--twig',
'atoms-button--twig-alt',
'atoms-forms--checkboxes',
'atoms-forms--radio-buttons',
'atoms-forms--select-dropdowns',
'atoms-forms--textfields-examples',
'atoms-images--images',
'atoms-images--figures',
'atoms-images--icons',
'atoms-links--links',
'atoms-lists--definition-list',
'atoms-lists--unordered-list',
'atoms-lists--ordered-list',
'atoms-tables--table',
'atoms-text--headings-examples',
'atoms-text--blockquote-example',
'atoms-text--preformatted',
'atoms-text--random',
'atoms-videos--wide',
'atoms-videos--full',
'molecules-cards--card-example',
'molecules-cards--card-with-background',
'molecules-cta--cta-example',
'molecules-menus--breadcrumbs',
'molecules-menus--inline',
'molecules-menus--main',
'molecules-menus--social',
'molecules-menus-pager--pager-example',
'molecules-status--status-examples',
'molecules-tabs--js-tabs',
'organisms-grids--default-grid',
'organisms-grids--card-grid',
'organisms-grids--cta-grid',
'organisms-site--footer',
'organisms-site--header',
'templates-layouts--full-width',
'templates-layouts--with-sidebar',
'templates-place-holder--place-holder',
'pages-content-types--article',
'pages-landing-pages--home',
],
};