fix: add aria-label to mobile explorer toggle button

This commit is contained in:
saberzero1 2026-05-24 16:21:07 +02:00
parent 9eb1553861
commit 6efa25daaf
No known key found for this signature in database
5 changed files with 5 additions and 2 deletions

View file

@ -149,6 +149,7 @@ var Explorer_default = ((userOpts) => {
class: "explorer-toggle mobile-explorer hide-until-loaded",
"data-mobile": true,
"aria-controls": id,
"aria-label": i18n(cfg?.locale ?? "en-US").components.explorer.title,
children: /* @__PURE__ */ u2(
"svg",
{

File diff suppressed because one or more lines are too long

1
dist/index.js vendored
View file

@ -149,6 +149,7 @@ var Explorer_default = ((userOpts) => {
class: "explorer-toggle mobile-explorer hide-until-loaded",
"data-mobile": true,
"aria-controls": id,
"aria-label": i18n(cfg?.locale ?? "en-US").components.explorer.title,
children: /* @__PURE__ */ u2(
"svg",
{

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -90,6 +90,7 @@ export default ((userOpts?: Partial<ExplorerOptions>) => {
class="explorer-toggle mobile-explorer hide-until-loaded"
data-mobile={true}
aria-controls={id}
aria-label={i18n(cfg?.locale ?? "en-US").components.explorer.title}
>
<svg
xmlns="http://www.w3.org/2000/svg"