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 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 following aria attributes; aria-pressed and aria-label.
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 following aria attributes; aria-pressed and aria-label.
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,6 +1,6 @@
1
1
  {
2
2
  "name": "aria-ease",
3
- "version": "1.5.7",
3
+ "version": "1.5.9",
4
4
  "description": "Out-of-the-box accessibility utility package to develop production ready applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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 following aria attributes; aria-pressed and aria-label.
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 following aria attributes; aria-pressed and aria-label.
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 attributes of the toggle element. Toggle element must possess the following aria attributes; aria-pressed and aria-label.
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 attributes of the toggle element. Toggle element must possess the following aria attributes; aria-pressed and aria-label.
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