wiki/quartz
Andrew 4c9e860150
a11y(darkmode): use a button for the theme toggle (#1335)
* Use a `<button>` for theme toggle

* docs: Adds back Xinyang's cs garden to showcase (#1323)

adding back my garden which was deleted from the cleanup showcase

* feat(toc,explorer): add accessibility for toggle (#1327)

* Restore focus highlight on explorer toggle button.

Remove `unset: all` declaration causing `outline`
property to be unset. This allows the default
browser focus highlight to be shown.

* Fix semantics of expandable sections (explorer, toc).

This adds the appropriate aria attributes for the [disclosure pattern](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-image-description/#javascriptandcsssourcecode) and uses `visibility: hidden` to remove the hidden elements from the focus order without disrupting the animations. Further work is needed on the tree view nodes.

* Run prettier for SCSS files.

* feat: custom global latex macros (closes #1325)

* chore: ts fixes

* docs: recommend at least node 20 in gh

* fix: unmemoize explorer on rebuild (closes #1077)

* fix: pass buildId to worker

* Fix theme button DOM hierarchy and styles

* Restore functionality of theme button

* `aria-label` on theme svgs so their accessible labels are included in button content

---------

Co-authored-by: Xinyang Yu <47915643+xy-241@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-08-24 13:33:30 -07:00
..
cli feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
components a11y(darkmode): use a button for the theme toggle (#1335) 2024-08-24 13:33:30 -07:00
i18n i18n: disambiguate en-us and en-gb 2024-07-20 20:24:17 -07:00
plugins feat: Mark the external link icon as aria-hidden (#1346) 2024-08-12 20:06:19 -07:00
processors fix: pass buildId to worker 2024-08-08 19:33:27 -07:00
static Revert "feat: Making Quartz available offline by making it a PWA (#465)" 2023-09-20 13:52:45 -07:00
styles fix: embed pdf aspect ratio (closes #1310) 2024-08-05 19:31:54 -07:00
util fix: unmemoize explorer on rebuild (closes #1077) 2024-08-08 19:17:20 -07:00
bootstrap-cli.mjs cleanup: rework cli to allow invoking create and build outside of cli (#428) 2023-08-27 15:59:51 -07:00
bootstrap-worker.mjs run prettier 2023-07-22 17:27:41 -07:00
build.ts fix: unmemoize explorer on rebuild (closes #1077) 2024-08-08 19:17:20 -07:00
cfg.ts feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
depgraph.test.ts fix(fast rebuild): handle added an deleted markdown correctly (#921) 2024-02-23 18:40:42 -08:00
depgraph.ts fix(fast rebuild): handle added an deleted markdown correctly (#921) 2024-02-23 18:40:42 -08:00
worker.ts fix: pass buildId to worker 2024-08-08 19:33:27 -07:00