forked from A11yance/aria-query
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphicsDocumentRole.js
59 lines (58 loc) · 988 Bytes
/
graphicsDocumentRole.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
/**
* @flow
*/
const graphicsDocumentRole: ARIARoleDefinition = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: false,
nameFrom: [
'author',
],
prohibitedProps: [],
props: {
'aria-disabled': null,
'aria-errormessage': null,
'aria-expanded': null,
'aria-haspopup': null,
'aria-invalid': null,
},
relatedConcepts: [
{
module: 'GRAPHICS',
concept: {
name: 'graphics-object',
},
},
{
module: 'ARIA',
concept: {
name: 'img',
},
},
{
module: 'ARIA',
concept: {
name: 'article',
},
},
{
concept: {
name: 'svg',
},
module: 'HTML',
},
],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [
[
'roletype',
'structure',
'document',
],
],
};
export default graphicsDocumentRole;