@atlaskit/editor-plugin-accessibility-utils 1.1.8 → 1.1.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-accessibility-utils
2
2
 
3
+ ## 1.1.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.1.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [#119559](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/119559)
14
+ [`7c1b0299f4fba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7c1b0299f4fba) -
15
+ ED-22510:Screen reader support for column/row selection and up/down movements
16
+
3
17
  ## 1.1.8
4
18
 
5
19
  ### Patch Changes
@@ -89,6 +89,7 @@ function ContentComponent(_ref2) {
89
89
  var role = (accessibilityUtilsState === null || accessibilityUtilsState === void 0 || (_accessibilityUtilsSt = accessibilityUtilsState.ariaLiveElementAttributes) === null || _accessibilityUtilsSt === void 0 ? void 0 : _accessibilityUtilsSt.priority) === 'important' ? 'alert' : 'status';
90
90
  var key = accessibilityUtilsState === null || accessibilityUtilsState === void 0 ? void 0 : accessibilityUtilsState.key;
91
91
  return /*#__PURE__*/_react.default.createElement(_visuallyHidden.default, (0, _extends2.default)({
92
+ testId: 'accessibility-message-wrapper',
92
93
  role: role
93
94
  }, role === 'alert' && {
94
95
  key: key
@@ -83,6 +83,7 @@ function ContentComponent({
83
83
  const role = (accessibilityUtilsState === null || accessibilityUtilsState === void 0 ? void 0 : (_accessibilityUtilsSt = accessibilityUtilsState.ariaLiveElementAttributes) === null || _accessibilityUtilsSt === void 0 ? void 0 : _accessibilityUtilsSt.priority) === 'important' ? 'alert' : 'status';
84
84
  const key = accessibilityUtilsState === null || accessibilityUtilsState === void 0 ? void 0 : accessibilityUtilsState.key;
85
85
  return /*#__PURE__*/React.createElement(VisuallyHidden, _extends({
86
+ testId: 'accessibility-message-wrapper',
86
87
  role: role
87
88
  }, role === 'alert' && {
88
89
  key
@@ -82,6 +82,7 @@ function ContentComponent(_ref2) {
82
82
  var role = (accessibilityUtilsState === null || accessibilityUtilsState === void 0 || (_accessibilityUtilsSt = accessibilityUtilsState.ariaLiveElementAttributes) === null || _accessibilityUtilsSt === void 0 ? void 0 : _accessibilityUtilsSt.priority) === 'important' ? 'alert' : 'status';
83
83
  var key = accessibilityUtilsState === null || accessibilityUtilsState === void 0 ? void 0 : accessibilityUtilsState.key;
84
84
  return /*#__PURE__*/React.createElement(VisuallyHidden, _extends({
85
+ testId: 'accessibility-message-wrapper',
85
86
  role: role
86
87
  }, role === 'alert' && {
87
88
  key: key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-accessibility-utils",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "Accessibility utils for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -8,7 +8,7 @@
8
8
  "registry": "https://registry.npmjs.org/"
9
9
  },
10
10
  "atlassian": {
11
- "team": "Editor: Scarlet",
11
+ "team": "Editor: Core Experiences",
12
12
  "singleton": true,
13
13
  "releaseModel": "continuous",
14
14
  "runReact18": false
@@ -32,7 +32,7 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/editor-common": "^84.0.0",
35
+ "@atlaskit/editor-common": "^85.0.0",
36
36
  "@atlaskit/editor-prosemirror": "4.0.1",
37
37
  "@atlaskit/visually-hidden": "^1.4.0",
38
38
  "@babel/runtime": "^7.0.0"