optimized-react-component-library-xyz123 0.19.7 → 0.19.8

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.js CHANGED
@@ -2195,12 +2195,11 @@ var Footer = ({ activatedLanguage = "sv", appUsesCookies = false, openCookieBann
2195
2195
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { children: appUsesCookies ? /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
2196
2196
  "button",
2197
2197
  {
2198
- "aria-expanded": "false",
2199
- "aria-controls": "cookie-banner",
2198
+ "aria-controls": activatedLanguage === "en" ? "Kakbanner" : '"cookie-banner"',
2200
2199
  "aria-haspopup": "dialog",
2201
2200
  onClick: openCookieBanner,
2202
2201
  children: [
2203
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens)" : "PTS Kakor (\xF6ppnas)" }),
2202
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: activatedLanguage === "en" ? "PTS Cookies (opens cookie banner)" : "PTS Kakor (\xF6ppnar kakbanner)" }),
2204
2203
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { "aria-hidden": "true", children: activatedLanguage === "en" ? "Cookies" : "Kakor" })
2205
2204
  ]
2206
2205
  }