@brightspace-ui/core 3.227.11 → 3.227.12

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.
@@ -275,6 +275,7 @@ class InputCheckbox extends FormElementMixin(InputInlineHelpMixin(FocusMixin(Ske
275
275
  'd2l-input-checkbox-text-disabled': this.disabled
276
276
  };
277
277
  const ariaChecked = this.indeterminate ? 'mixed' : undefined;
278
+ const ariaExpanded = this._hasSupporting && this.supportingHiddenWhenUnchecked ? (supportingContentVisible ? 'true' : 'false') : undefined;
278
279
  const ariaLabel = (this.label && this.labelHidden) ? this.label : undefined;
279
280
  const label = (this.label && !this.labelHidden) ? this.label : nothing;
280
281
  const disabled = this.disabled || this.skeleton;
@@ -289,6 +290,7 @@ class InputCheckbox extends FormElementMixin(InputInlineHelpMixin(FocusMixin(Ske
289
290
  aria-checked="${ifDefined(ariaChecked)}"
290
291
  aria-describedby="${ifDefined(ariaDescribedByIds.length > 0 ? ariaDescribedByIds : undefined)}"
291
292
  aria-disabled="${ifDefined(disabled && this.disabledTooltip ? 'true' : undefined)}"
293
+ aria-expanded="${ifDefined(ariaExpanded)}"
292
294
  aria-label="${ifDefined(ariaLabel)}"
293
295
  @change="${this.#handleChange}"
294
296
  class="d2l-input-checkbox"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.227.11",
3
+ "version": "3.227.12",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",