aria-ease 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"assertion": "toHaveAttribute",
|
|
35
35
|
"attribute": "aria-haspopup",
|
|
36
36
|
"expectedValue": "true | menu",
|
|
37
|
-
"failureMessage": "Menu trigger button doesn't conform to the ARIA Menu Button pattern as specified in APG 1.2. Menu button trigger should have 'aria-
|
|
37
|
+
"failureMessage": "Menu trigger button doesn't conform to the ARIA Menu Button pattern as specified in APG 1.2. Menu button trigger should have 'aria-haspopup=true | menu' attribute. This helps assistive technology to identify the button as one that toggles a panel div display."
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"target": "trigger",
|
|
41
41
|
"assertion": "toHaveAttribute",
|
|
42
42
|
"attribute": "aria-expanded",
|
|
43
43
|
"expectedValue": "true | false",
|
|
44
|
-
"failureMessage": "Menu trigger button doesn't conform to the ARIA Menu Button pattern as specified in APG 1.2. Menu trigger button should have 'aria-
|
|
44
|
+
"failureMessage": "Menu trigger button doesn't conform to the ARIA Menu Button pattern as specified in APG 1.2. Menu trigger button should have 'aria-expanded=true | false' attribute. This helps assistive technology to keep track of the open or close state of the menu panel div that the button controls."
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"target": "trigger",
|