@brightspace-ui/core 2.118.1 → 2.118.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.
|
@@ -667,6 +667,8 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
667
667
|
|
|
668
668
|
_handleDimensionShowStart(e) {
|
|
669
669
|
this._activeDimensionKey = e.detail.sourceView.getAttribute('data-key');
|
|
670
|
+
const dimension = this._dimensions.find(dimension => dimension.key === this._activeDimensionKey);
|
|
671
|
+
if (dimension.introductoryText) announce(dimension.introductoryText);
|
|
670
672
|
this._dispatchDimensionFirstOpenEvent(this._activeDimensionKey);
|
|
671
673
|
}
|
|
672
674
|
|
|
@@ -680,6 +682,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
|
|
|
680
682
|
this.opened = true;
|
|
681
683
|
if (this._dimensions.length === 1) {
|
|
682
684
|
this._dispatchDimensionFirstOpenEvent(this._dimensions[0].key);
|
|
685
|
+
if (this._dimensions[0].introductoryText) announce(this._dimensions[0].introductoryText);
|
|
683
686
|
}
|
|
684
687
|
this._stopPropagation(e);
|
|
685
688
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.118.
|
|
3
|
+
"version": "2.118.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",
|