@brightspace-ui/core 2.32.1 → 2.32.2

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.
@@ -1,6 +1,6 @@
1
1
  import { clearDismissible, setDismissible } from '../../helpers/dismissible.js';
2
2
  import { css, html, LitElement } from 'lit';
3
- import { cssEscape, elemIdListAdd, getBoundingAncestor, getOffsetParent } from '../../helpers/dom.js';
3
+ import { cssEscape, elemIdListAdd, elemIdListRemove, getBoundingAncestor, getOffsetParent } from '../../helpers/dom.js';
4
4
  import { announce } from '../../helpers/announce.js';
5
5
  import { bodySmallStyles } from '../typography/styles.js';
6
6
  import { getUniqueId } from '../../helpers/uniqueId.js';
@@ -446,6 +446,10 @@ class Tooltip extends RtlMixin(LitElement) {
446
446
  clearDismissible(this._dismissibleId);
447
447
  delayTimeoutId = null;
448
448
  this._dismissibleId = null;
449
+ if (this._target) {
450
+ elemIdListRemove(this._target, 'aria-labelledby', this.id);
451
+ elemIdListRemove(this._target, 'aria-describedby', this.id);
452
+ }
449
453
  }
450
454
 
451
455
  render() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.32.1",
3
+ "version": "2.32.2",
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",