@rhc-shared-components/form-select-component 1.0.2 → 1.0.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/dist/index.js CHANGED
@@ -185,6 +185,7 @@ var FormSelect = function FormSelect(_ref) {
185
185
  isFullHeight: isFullHeight,
186
186
  isDisabled: isSubmitting || isDisabled,
187
187
  "aria-required": isRequired,
188
+ "aria-label": isRequired ? label + ", required" : label,
188
189
  children: value || placeholder
189
190
  });
190
191
  };
@@ -153,6 +153,7 @@ const FormSelect = _ref => {
153
153
  isFullHeight: isFullHeight,
154
154
  isDisabled: isSubmitting || isDisabled,
155
155
  "aria-required": isRequired,
156
+ "aria-label": isRequired ? `${label}, required` : label,
156
157
  children: value || placeholder
157
158
  });
158
159
  return jsxs(FormGroupContainer, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhc-shared-components/form-select-component",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "project description",
5
5
  "author": "redhatofficial",
6
6
  "license": "MIT",