azure-maps-control 2.1.9 → 2.1.10

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/atlas.js CHANGED
@@ -43487,7 +43487,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
43487
43487
  return Url;
43488
43488
  }());
43489
43489
 
43490
- var version = "2.1.9";
43490
+ var version = "2.1.10";
43491
43491
 
43492
43492
  /**
43493
43493
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -51970,9 +51970,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51970
51970
  var zoomOutDisabled = this.map.getCamera().zoom <= this.map._getMap().getMinZoom() || reachedLatitudeBoundaries;
51971
51971
  if (this.zoomInButton && this.zoomInButton.disabled != zoomInDisabled) {
51972
51972
  this.zoomInButton.disabled = zoomInDisabled;
51973
+ this.zoomInButton.setAttribute("aria-label", zoomInDisabled ? "Zoom In disabled" : "Zoom In");
51973
51974
  }
51974
51975
  if (this.zoomOutButton && this.zoomOutButton.disabled != zoomOutDisabled) {
51975
51976
  this.zoomOutButton.disabled = zoomOutDisabled;
51977
+ this.zoomInButton.setAttribute("aria-label", zoomInDisabled ? "Zoom Out disabled" : "Zoom Out");
51976
51978
  }
51977
51979
  };
51978
51980
  ZoomControl.prototype.constructZoomInButton = function (map) {
@@ -69066,7 +69068,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
69066
69068
  _this.atlasMapLiveStateInfo.id = "atlas-map-state";
69067
69069
  _this.atlasMapLiveStateInfo.classList.add("hidden-accessible-element");
69068
69070
  _this.map.getCanvasContainer().appendChild(_this.atlasMapLiveStateInfo);
69069
- //this.atlasMapLiveStateInfo.setAttribute("aria-live", "polite");
69071
+ _this.atlasMapLiveStateInfo.setAttribute("aria-live", "assertive");
69070
69072
  };
69071
69073
  this.initializeMapStyleInfo = function () {
69072
69074
  _this.atlasMapStyleInfo = document.createElement("div");