Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve accessibility of foldable sidebar nav and imgproc (#1028)
* 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 <[email protected]>
- Loading branch information