-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathextended.ts
38 lines (35 loc) · 1.05 KB
/
extended.ts
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
/*
* Copyright (c) 2020, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import { getA11yConfig } from './a11yConfig';
import { recommended } from './recommended';
const rules = [
...recommended.runOnly.values,
'accesskeys',
'aria-allowed-role',
'avoid-inline-spacing',
'css-orientation-lock',
'frame-tested',
'identical-links-same-purpose',
'label-content-name-mismatch',
'landmark-banner-is-top-level',
'landmark-complementary-is-top-level',
'landmark-contentinfo-is-top-level',
'landmark-main-is-top-level',
'landmark-no-duplicate-banner',
'landmark-no-duplicate-contentinfo',
'landmark-no-duplicate-main',
'landmark-one-main',
'landmark-unique',
'link-in-text-block',
'meta-viewport-large',
'meta-viewport',
'no-autoplay-audio',
'object-alt',
'p-as-heading',
'region',
];
export const extended = getA11yConfig(rules);