@atlaskit/form 8.11.2 → 8.11.3

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,11 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 8.11.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e8dbb0a281b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8dbb0a281b) - add a11y support for alert messages
8
+
3
9
  ## 8.11.2
4
10
 
5
11
  ### Patch Changes
@@ -98,7 +98,8 @@ var Message = function Message(_ref2) {
98
98
  return (0, _react2.jsx)("div", {
99
99
  css: [mode === 'light' ? lightH200Styles : darkH200Styles, messageStyles, messageAppearanceStyles[appearance]],
100
100
  "data-testid": testId,
101
- id: fieldId
101
+ id: fieldId,
102
+ role: "alert"
102
103
  }, icon && (0, _react2.jsx)(IconWrapper, null, icon), content);
103
104
  };
104
105
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "8.11.2",
3
+ "version": "8.11.3",
4
4
  "sideEffects": false
5
5
  }
@@ -94,7 +94,8 @@ const Message = ({
94
94
  return jsx("div", {
95
95
  css: [mode === 'light' ? lightH200Styles : darkH200Styles, messageStyles, messageAppearanceStyles[appearance]],
96
96
  "data-testid": testId,
97
- id: fieldId
97
+ id: fieldId,
98
+ role: "alert"
98
99
  }, icon && jsx(IconWrapper, null, icon), content);
99
100
  };
100
101
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "8.11.2",
3
+ "version": "8.11.3",
4
4
  "sideEffects": false
5
5
  }
@@ -92,7 +92,8 @@ var Message = function Message(_ref2) {
92
92
  return jsx("div", {
93
93
  css: [mode === 'light' ? lightH200Styles : darkH200Styles, messageStyles, messageAppearanceStyles[appearance]],
94
94
  "data-testid": testId,
95
- id: fieldId
95
+ id: fieldId,
96
+ role: "alert"
96
97
  }, icon && jsx(IconWrapper, null, icon), content);
97
98
  };
98
99
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "8.11.2",
3
+ "version": "8.11.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "8.11.2",
3
+ "version": "8.11.3",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"