You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[{"attributes": [{"name": "aria-controls"},{"name": "list"},{"name": "type","value": "email"}],"constraints": ["the aria-controls attribute is set to the same value as the list attribute"],"name": "input"},["combobox"]],
21
-
[{"attributes": [{"name": "aria-controls"},{"name": "list"},{"name": "type","value": "search"}],"constraints": ["the aria-controls attribute is set to the same value as the list attribute"],"name": "input"},["combobox"]],
22
-
[{"attributes": [{"name": "aria-controls"},{"name": "list"},{"name": "type","value": "tel"}],"constraints": ["the aria-controls attribute is set to the same value as the list attribute"],"name": "input"},["combobox"]],
23
-
[{"attributes": [{"name": "aria-controls"},{"name": "list"},{"name": "type","value": "text"}],"constraints": ["the aria-controls attribute is set to the same value as the list attribute"],"name": "input"},["combobox"]],
24
-
[{"attributes": [{"name": "aria-controls"},{"name": "list"},{"name": "type","value": "url"}],"constraints": ["the aria-controls attribute is set to the same value as the list attribute"],"name": "input"},["combobox"]],
25
-
[{"attributes": [{"name": "multiple"},{"name": "size"}],"constraints": ["the multiple attribute and the size attribute do not have a value greater than 1"],"name": "select"},["combobox"]],
[{"attributes": [{"constraints": ["undefined"],"name": "multiple"},{"constraints": ["undefined"],"name": "size"}],"constraints": ["the multiple attribute is not set and the size attribute does not have a value greater than 1"],"name": "select"},["combobox"]],
26
26
[{"name": "aside"},["complementary"]],
27
-
[{"attributes": [{"name": "aria-label"}],"constraints": ["scoped to a sectioning content element","scoped to a sectioning root element other than body"],"name": "aside"},["complementary"]],
28
-
[{"attributes": [{"name": "aria-labelledby"}],"constraints": ["scoped to a sectioning content element","scoped to a sectioning root element other than body"],"name": "aside"},["complementary"]],
27
+
[{"attributes": [{"constraints": ["set"],"name": "aria-label"}],"constraints": ["scoped to a sectioning content element","scoped to a sectioning root element other than body"],"name": "aside"},["complementary"]],
28
+
[{"attributes": [{"constraints": ["set"],"name": "aria-labelledby"}],"constraints": ["scoped to a sectioning content element","scoped to a sectioning root element other than body"],"name": "aside"},["complementary"]],
29
29
[{"constraints": ["scoped to the body element"],"name": "footer"},["contentinfo"]],
[{"attributes": [{"name": "size"},{"name": "multiple"}],"constraints": ["the size attribute value is greater than 1"],"name": "select"},["listbox"]],
77
-
[{"attributes": [{"name": "size"}],"constraints": ["the size attribute value is greater than 1"],"name": "select"},["listbox"]],
78
-
[{"attributes": [{"name": "multiple"}],"constraints": ["the multiple attribute value is greater than 1"],"name": "select"},["listbox"]],
79
-
[{"attributes": [{"name": "aria-multiselectable","value": "true"}],"constraints": ["the datalist selection model allows multiple option elements to be selected at a time"],"name": "datalist"},["listbox"]],
77
+
[{"attributes": [{"constraints": [">1"],"name": "size"}],"constraints": ["the size attribute value is greater than 1"],"name": "select"},["listbox"]],
[{"attributes": [{"name": "list"},{"name": "type","value": "search"}],"constraints": ["the list attribute is not set"],"name": "input"},["searchbox"]],
102
+
[{"attributes": [{"constraints": ["undefined"],"name": "list"},{"name": "type","value": "search"}],"constraints": ["the list attribute is not set"],"name": "input"},["searchbox"]],
[{"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
117
-
[{"attributes": [{"name": "type","value": "email"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
118
-
[{"attributes": [{"name": "type","value": "tel"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
119
-
[{"attributes": [{"name": "type","value": "text"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
120
-
[{"attributes": [{"name": "type","value": "url"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
116
+
[{"attributes": [{"constraints": ["undefined"],"name": "type"},{"constraints": ["undefined"],"name": "list"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
117
+
[{"attributes": [{"constraints": ["undefined"],"name": "list"},{"name": "type","value": "email"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
118
+
[{"attributes": [{"constraints": ["undefined"],"name": "list"},{"name": "type","value": "tel"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
119
+
[{"attributes": [{"constraints": ["undefined"],"name": "list"},{"name": "type","value": "text"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
120
+
[{"attributes": [{"constraints": ["undefined"],"name": "list"},{"name": "type","value": "url"}],"constraints": ["the list attribute is not set"],"name": "input"},["textbox"]],
121
121
[{"name": "textarea"},["textbox"]],
122
122
[{"name": "time"},["time"]],
123
123
];
@@ -158,7 +158,7 @@ describe('elementRoleMap API', function () {
158
158
it('get()',function(){
159
159
expect(elementRoleMap.get({
160
160
attributes: [
161
-
{name: 'href'}
161
+
{constraints: ["set"],name: 'href'}
162
162
],
163
163
name: 'a'
164
164
})).toEqual(
@@ -184,7 +184,7 @@ describe('elementRoleMap API', function () {
184
184
it('has()',function(){
185
185
expect(elementRoleMap.has({
186
186
attributes: [
187
-
{name: 'href'}
187
+
{constraints: ["set"],name: 'href'}
188
188
],
189
189
name: 'a'
190
190
})).toEqual(true);
@@ -230,7 +230,7 @@ describe('elementRolesMap', function () {
0 commit comments