buttonRole.js
2.03 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
"use strict";
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
_Object$defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var buttonRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: true,
nameFrom: ['author', 'contents'],
prohibitedProps: [],
props: {
'aria-disabled': null,
'aria-expanded': null,
'aria-haspopup': null,
'aria-pressed': null
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ['set'],
name: 'aria-pressed'
}, {
name: 'type',
value: 'checkbox'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
name: 'aria-expanded',
value: 'false'
}],
name: 'summary'
},
module: 'HTML'
}, {
concept: {
attributes: [{
name: 'aria-expanded',
value: 'true'
}],
constraints: ['direct descendant of details element with the open attribute defined'],
name: 'summary'
},
module: 'HTML'
}, {
concept: {
attributes: [{
name: 'type',
value: 'button'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
name: 'type',
value: 'image'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
name: 'type',
value: 'reset'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
attributes: [{
name: 'type',
value: 'submit'
}],
name: 'input'
},
module: 'HTML'
}, {
concept: {
name: 'button'
},
module: 'HTML'
}, {
concept: {
name: 'trigger'
},
module: 'XForms'
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [['roletype', 'widget', 'command']]
};
var _default = buttonRole;
exports.default = _default;