aria-ease 1.5.7 → 1.5.9
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 +2 -2
- package/package.json +1 -1
- package/src/toggle/group/updateGroupTogglesAriaAttributes.js +1 -1
- package/src/toggle/group/updateGroupTogglesAriaAttributes.ts +1 -1
- package/src/toggle/single/updateSingleToggleAriaAttribute.js +1 -1
- package/src/toggle/single/updateSingleToggleAriaAttribute.ts +1 -1
package/aria-ease.d.ts
CHANGED
|
@@ -65,13 +65,13 @@ declare module 'aria-ease' {
|
|
|
65
65
|
function updateGroupRadiosAriaAttributes(radioStates: RadioStates[], radiosClass: string, currentPressedRadioIndex: number): void;
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
* Adds screen reader accessibility to a single toggle element. Updates the aria attributes of the toggle element. Toggle element must possess the
|
|
68
|
+
* Adds screen reader accessibility to a single toggle element. Updates the aria attributes of the toggle element. Toggle element must possess the aria-pressed attribute.
|
|
69
69
|
* @param {string} togglesClass The shared class of all the toggle elements
|
|
70
70
|
*/
|
|
71
71
|
function updateSingleToggleAriaAttribute(toggleClass: string): void
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Adds screen reader accessibility to toggle elements. Updates the aria attributes of the toggle elements. Toggle element must possess the
|
|
74
|
+
* Adds screen reader accessibility to toggle elements. Updates the aria attributes of the toggle elements. Toggle element must possess the aria-pressed attribute.
|
|
75
75
|
* @param {ToggleStates[]} toggleStates Array of objects containing toggle elements state information
|
|
76
76
|
* @param {string} togglesClass The shared class of all the toggle elements
|
|
77
77
|
* @param {number} currentPressedToggleIndex Index of the currently pressed or unpressed toggle element
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Adds screen reader accessibility to toggle buttons. Updates the aria attributes of the toggle buttons. Button must be button element with a role of button, and possess the
|
|
2
|
+
* Adds screen reader accessibility to toggle buttons. Updates the aria attributes of the toggle buttons. Button must be button element with a role of button, and possess the aria-pressed attribute.
|
|
3
3
|
* @param {ToggleStates[]} toggleStates Array of objects containing toggle buttons state information
|
|
4
4
|
* @param {string} togglesClass The shared class of all the toggle buttons
|
|
5
5
|
* @param {number} currentPressedToggleIndex Index of the currently pressed or unpressed toggle button
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Adds screen reader accessibility to toggle buttons. Updates the aria attributes of the toggle buttons. Button must be button element with a role of button, and possess the
|
|
2
|
+
* Adds screen reader accessibility to toggle buttons. Updates the aria attributes of the toggle buttons. Button must be button element with a role of button, and possess the aria-pressed attribute.
|
|
3
3
|
* @param {ToggleStates[]} toggleStates Array of objects containing toggle buttons state information
|
|
4
4
|
* @param {string} togglesClass The shared class of all the toggle buttons
|
|
5
5
|
* @param {number} currentPressedToggleIndex Index of the currently pressed or unpressed toggle button
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Adds screen reader accessibility to a single toggle element. Updates the aria
|
|
2
|
+
* Adds screen reader accessibility to a single toggle element. Updates the aria attribute of the toggle element. Toggle element must possess the aria-pressed attribute.
|
|
3
3
|
* @param {string} toggleClass The class of all the toggle element
|
|
4
4
|
*/
|
|
5
5
|
export function updateSingleToggleAriaAttribute(toggleClass) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Adds screen reader accessibility to a single toggle element. Updates the aria
|
|
2
|
+
* Adds screen reader accessibility to a single toggle element. Updates the aria attribute of the toggle element. Toggle element must possess the aria-pressed attribute.
|
|
3
3
|
* @param {string} toggleClass The class of all the toggle element
|
|
4
4
|
*/
|
|
5
5
|
|