Various accessibility improvements (#6742)

* Add `main` and `article` roles to stories and story.

* Support `role` and \aria-checked` in buttons, and integrate with sidebar tabs.

* Add `region` role to sidebar, and set caption as `aria-label`.

* Add accessibility roles and labels to static templates.

* Update test fixtures with new ARIA tab attributes.
This commit is contained in:
Nolan Darilek
2022-06-28 14:05:52 +01:00
committed by GitHub
parent 5e35c8dda6
commit f02bd2392f
11 changed files with 17 additions and 11 deletions
+1
View File
@@ -1,5 +1,6 @@
title: $:/language/SideBar/
Caption: Sidebar
All/Caption: All
Contents/Caption: Contents
Drafts/Caption: Drafts