victory-core 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-core
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
  ### Patch Changes
package/README.md CHANGED
@@ -17,4 +17,4 @@
17
17
  Please visit our documentation site to read more about these components
18
18
  https://formidable.com/open-source/victory
19
19
 
20
- To suggest an addition or correction to this documentation please see https://github.com/FormidableLabs/victory/blob/main/docs/src/content/docs
20
+ To suggest an addition or correction to this documentation please see https://github.com/FormidableLabs/victory/blob/main/docs/src/content/docs
@@ -8891,6 +8891,7 @@ var _getMeasurementContainer = lodash_memoize__WEBPACK_IMPORTED_MODULE_0___defau
8891
8891
  element.setAttribute("width", "300");
8892
8892
  element.setAttribute("height", "300");
8893
8893
  element.setAttribute("viewBox", "0 0 300 300");
8894
+ element.setAttribute("aria-hidden", "true");
8894
8895
  var containerElement = document.createElementNS("http://www.w3.org/2000/svg", "text");
8895
8896
  element.appendChild(containerElement);
8896
8897
  element.style.position = "fixed";