victory 36.6.11 → 36.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # victory
2
2
 
3
+ ## 36.6.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Add aria-hidden flag to svg for textsize util to fix accessibility issue ([#2661](https://github.com/FormidableLabs/victory/pull/2661))
8
+
3
9
  ## 36.6.11
4
10
 
5
11
  ## 36.6.10
package/dist/victory.js CHANGED
@@ -26513,6 +26513,7 @@ var _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___defau
26513
26513
  element.setAttribute("width", "300");
26514
26514
  element.setAttribute("height", "300");
26515
26515
  element.setAttribute("viewBox", "0 0 300 300");
26516
+ element.setAttribute("aria-hidden", "true");
26516
26517
  var containerElement = document.createElementNS("http://www.w3.org/2000/svg", "text");
26517
26518
  element.appendChild(containerElement);
26518
26519
  element.style.position = "fixed";