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.
@@ -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) {
@@ -58885,7 +58887,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
58885
58887
  _this.atlasMapLiveStateInfo.id = "atlas-map-state";
58886
58888
  _this.atlasMapLiveStateInfo.classList.add("hidden-accessible-element");
58887
58889
  _this.map.getCanvasContainer().appendChild(_this.atlasMapLiveStateInfo);
58888
- //this.atlasMapLiveStateInfo.setAttribute("aria-live", "polite");
58890
+ _this.atlasMapLiveStateInfo.setAttribute("aria-live", "assertive");
58889
58891
  };
58890
58892
  this.initializeMapStyleInfo = function () {
58891
58893
  _this.atlasMapStyleInfo = document.createElement("div");