@wordpress/a11y 4.40.1-next.v.202602241322.0 → 4.40.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.
- package/build-types/add-container.d.ts +9 -0
- package/build-types/add-container.d.ts.map +1 -0
- package/build-types/add-intro-text.d.ts +10 -0
- package/build-types/add-intro-text.d.ts.map +1 -0
- package/build-types/clear.d.ts +5 -0
- package/build-types/clear.d.ts.map +1 -0
- package/build-types/filter-message.d.ts +9 -0
- package/build-types/filter-message.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build the live regions markup.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} [ariaLive] Value for the 'aria-live' attribute; default: 'polite'.
|
|
5
|
+
*
|
|
6
|
+
* @return {HTMLDivElement} The ARIA live region HTML element.
|
|
7
|
+
*/
|
|
8
|
+
export default function addContainer(ariaLive?: string | undefined): HTMLDivElement;
|
|
9
|
+
//# sourceMappingURL=add-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-container.d.ts","sourceRoot":"","sources":["../src/add-container.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,qEAFY,cAAc,CA+BzB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build the explanatory text to be placed before the aria live regions.
|
|
3
|
+
*
|
|
4
|
+
* This text is initially hidden from assistive technologies by using a `hidden`
|
|
5
|
+
* HTML attribute which is then removed once a message fills the aria-live regions.
|
|
6
|
+
*
|
|
7
|
+
* @return {HTMLParagraphElement} The explanatory text HTML element.
|
|
8
|
+
*/
|
|
9
|
+
export default function addIntroText(): HTMLParagraphElement;
|
|
10
|
+
//# sourceMappingURL=add-intro-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-intro-text.d.ts","sourceRoot":"","sources":["../src/add-intro-text.js"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,wCAFY,oBAAoB,CA+B/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear.d.ts","sourceRoot":"","sources":["../src/clear.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,sCAYC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filter the message to be announced to the screenreader.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} message The message to be announced.
|
|
5
|
+
*
|
|
6
|
+
* @return {string} The filtered message.
|
|
7
|
+
*/
|
|
8
|
+
export default function filterMessage(message: string): string;
|
|
9
|
+
//# sourceMappingURL=filter-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-message.d.ts","sourceRoot":"","sources":["../src/filter-message.js"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,+CAJW,MAAM,GAEL,MAAM,CAuBjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/a11y",
|
|
3
|
-
"version": "4.40.1
|
|
3
|
+
"version": "4.40.1",
|
|
4
4
|
"description": "Accessibility (a11y) utilities for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"wpScriptModuleExports": "./build-module/module/index.mjs",
|
|
47
47
|
"types": "build-types",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@wordpress/dom-ready": "^4.40.1
|
|
50
|
-
"@wordpress/i18n": "^6.13.1
|
|
49
|
+
"@wordpress/dom-ready": "^4.40.1",
|
|
50
|
+
"@wordpress/i18n": "^6.13.1"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "adb6623c9f32490cfc73c7ac7f122578c1f10c65"
|
|
56
56
|
}
|