diff --git a/quartz/components/Explorer.tsx b/quartz/components/Explorer.tsx index c32446559..d3de6fa6e 100644 --- a/quartz/components/Explorer.tsx +++ b/quartz/components/Explorer.tsx @@ -100,6 +100,8 @@ export default ((userOpts?: Partial) => { data-pagepathstate={opts.usePagePath} data-tree={jsonTree} data-mobile={true} + aria-controls="explorer-content" + aria-expanded={false} > ) => { data-pagepathstate={opts.usePagePath} data-tree={jsonTree} data-mobile={false} + aria-controls="explorer-content" + aria-expanded={true} >

{opts.title ?? i18n(cfg.locale).components.explorer.title}

{ @@ -166,7 +176,6 @@ document.addEventListener("nav", () => { } } setupExplorer() - //add collapsed class to all folders observer.disconnect()