* Fixing docsy issue #1022 - accessibility of foldable sidebar nav
The foldable sidebar nav is using `max-height` transitions to hide subnavs visually, but this approach does not hide visually hidden content from keyboard and screen reader users. Moving to a simple `display: [block/none]` toggle solves the issue.
* Improves accessibility of imgproc
To be more semantically aligned and to improve accessibility, I propose using <figure> and <figcaption> for images included in this manner, which creates a programmatic association between the image and the additional text, providing more context for screen readers
Co-authored-by: LisaFC <lcarey@google.com>
* gh-1004 Add breadcrumbs and cards to taxonomy result list
* gh-1004 Change breadcrumb partial so leaf item is not a link
* gh-1004 Format scss
Co-authored-by: LisaFC <lcarey@google.com>
- allow tab content in markdown
- tab header can now be given as unnamed parameter
- tab(s) can now be disabled
- improve storage of active language
- new option to turn storage of active language off
- improvements and fixes
- documentation update
Fixes a TOCSS error with incorrect arguments:
```txt
> HUGO_ENV=development hugo server
Start building sites …
hugo v0.92.1+extended darwin/amd64 BuildDate=unknown
WARN 2022/02/02 14:39:09 .File.UniqueID on zero object. Wrap it in if or with: {{ with .File }}{{ .UniqueID }}{{ end }}
Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file ".../themes/docsy/assets/scss/_boxes.scss", line 37, col 18: wrong number of arguments (3 for 2) for `bg-gradient-variant'
```
* Use svg-loader instead of img tag to preserve interactive diagrams
* Configure img vs svg tag
* Updated usage documentation and added default to config.toml
Co-authored-by: Erwin Bovendeur <e.bovendeur@faceit.nl>
Co-authored-by: LisaFC <lcarey@google.com>
Any SVG or PNG images that contain an editable diagrams.net document will
display an "edit" button on hover that opens the image in any embedded editor.
Saving the image will cause the file to be downloaded to the user's
browser, ready for use back in the docsy site.
primary color.
Our site currently sets the primary color to white and also the background
of the sidebar to white. Updating our docsy theme makes it so that the root
of the sidebar tree disappears. This allows us to keep our theming and keep
the root of the sidebar a dark contrasting color from the background.