@elementor/editor-controls 3.35.0-372 → 3.35.0-374

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/index.mjs CHANGED
@@ -3955,7 +3955,7 @@ var SvgMediaControl = createControl(() => {
3955
3955
  description: /* @__PURE__ */ React71.createElement(React71.Fragment, null, __28("To upload them anyway, ask the site administrator to enable unfiltered", "elementor"), /* @__PURE__ */ React71.createElement("br", null), __28("file uploads.", "elementor")),
3956
3956
  isEnabled: !canManageOptions
3957
3957
  };
3958
- return /* @__PURE__ */ React71.createElement(Stack13, { gap: 1 }, /* @__PURE__ */ React71.createElement(EnableUnfilteredModal, { open: unfilteredModalOpenState, onClose: onCloseUnfilteredModal }), /* @__PURE__ */ React71.createElement(ControlActions, null, /* @__PURE__ */ React71.createElement(StyledCard, { variant: "outlined" }, /* @__PURE__ */ React71.createElement(StyledCardMediaContainer, null, isFetching ? /* @__PURE__ */ React71.createElement(CircularProgress3, { role: "progressbar" }) : /* @__PURE__ */ React71.createElement(
3958
+ return /* @__PURE__ */ React71.createElement(Stack13, { gap: 1, "aria-label": "SVG Control" }, /* @__PURE__ */ React71.createElement(EnableUnfilteredModal, { open: unfilteredModalOpenState, onClose: onCloseUnfilteredModal }), /* @__PURE__ */ React71.createElement(ControlActions, null, /* @__PURE__ */ React71.createElement(StyledCard, { variant: "outlined" }, /* @__PURE__ */ React71.createElement(StyledCardMediaContainer, null, isFetching ? /* @__PURE__ */ React71.createElement(CircularProgress3, { role: "progressbar" }) : /* @__PURE__ */ React71.createElement(
3959
3959
  CardMedia2,
3960
3960
  {
3961
3961
  component: "img",
@@ -3978,7 +3978,8 @@ var SvgMediaControl = createControl(() => {
3978
3978
  size: "tiny",
3979
3979
  color: "inherit",
3980
3980
  variant: "outlined",
3981
- onClick: () => handleClick(MODE_BROWSE)
3981
+ onClick: () => handleClick(MODE_BROWSE),
3982
+ "aria-label": "Select SVG"
3982
3983
  },
3983
3984
  __28("Select SVG", "elementor")
3984
3985
  ), /* @__PURE__ */ React71.createElement(ConditionalControlInfotip, { ...infotipProps }, /* @__PURE__ */ React71.createElement("span", null, /* @__PURE__ */ React71.createElement(ThemeProvider, { colorScheme: canManageOptions ? "light" : "dark" }, /* @__PURE__ */ React71.createElement(
@@ -3989,7 +3990,8 @@ var SvgMediaControl = createControl(() => {
3989
3990
  color: "inherit",
3990
3991
  startIcon: /* @__PURE__ */ React71.createElement(UploadIcon2, null),
3991
3992
  disabled: canManageOptions ? false : true,
3992
- onClick: () => canManageOptions && handleClick(MODE_UPLOAD)
3993
+ onClick: () => canManageOptions && handleClick(MODE_UPLOAD),
3994
+ "aria-label": "Upload SVG"
3993
3995
  },
3994
3996
  __28("Upload", "elementor")
3995
3997
  )))))