aria-ease 1.0.7 → 1.0.8
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.
package/aria-ease.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ declare module 'aria-ease' {
|
|
|
17
17
|
declare function makeTabAccessible(tabId: string, tabItemClass: string): void;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Updates the aria attributes of the menu trigger button.
|
|
20
|
+
* Updates the aria attributes of the menu trigger button. Trigger button element must possess the following aria attributes; aria-expanded, aria-pressed, aria-label.
|
|
21
21
|
* @param {string} triggerId The id of the trigger button that toggles the menu.
|
|
22
22
|
* @param {string} ariaLabel The aria-label to be updated.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
declare function updateMenuTriggerAriaAttributes(triggerId: string, ariaLabel: string): void;
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Updates the aria attributes of the menu trigger button.
|
|
2
|
+
* Updates the aria attributes of the menu trigger button. Trigger button element must possess the following aria attributes; aria-expanded, aria-pressed, aria-label.
|
|
3
3
|
* @param {string} triggerId The id of the trigger button that toggles the menu.
|
|
4
4
|
* @param {string} ariaLabel The aria-label to be updated.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Updates the aria attributes of the menu trigger button.
|
|
2
|
+
* Updates the aria attributes of the menu trigger button. Trigger button element must possess the following aria attributes; aria-expanded, aria-pressed, aria-label.
|
|
3
3
|
* @param {string} triggerId The id of the trigger button that toggles the menu.
|
|
4
4
|
* @param {string} ariaLabel The aria-label to be updated.
|
|
5
5
|
*/
|