-
Notifications
You must be signed in to change notification settings - Fork 648
/
sensory-and-visual-cues.ts
43 lines (40 loc) 路 1.35 KB
/
sensory-and-visual-cues.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
39
40
41
42
43
// autogenerated by scripts/create/create-metas.js
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
import { getMessage } from '../i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.accessibility,
description: getMessage('sensoryAndVisualCues_description', 'en'),
name: getMessage('sensoryAndVisualCues_name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('sensoryAndVisualCues_description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('sensoryAndVisualCues_name', language);
},
id: 'axe/sensory-and-visual-cues',
schema: [
{
additionalProperties: false,
properties: {
'meta-viewport': { enum: ['off', 'warning', 'error'], type: 'string' },
'meta-viewport-large': { enum: ['off', 'warning', 'error'], type: 'string' }
}
},
{
items: {
enum: ['meta-viewport', 'meta-viewport-large'],
type: 'string'
},
typeof: 'array',
uniqueItems: true
}
],
scope: HintScope.any
};
export default meta;