mirror of
https://github.com/quartz-community/explorer.git
synced 2026-07-22 02:50:24 +00:00
fix: add aria-label to mobile explorer toggle button
This commit is contained in:
parent
9eb1553861
commit
6efa25daaf
5 changed files with 5 additions and 2 deletions
1
dist/components/index.js
vendored
1
dist/components/index.js
vendored
|
|
@ -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/components/index.js.map
vendored
2
dist/components/index.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/index.js
vendored
1
dist/index.js
vendored
|
|
@ -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
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue