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 -1
View File
@@ -2,7 +2,7 @@ title: $:/core/ui/PageTemplate/story
tags: $:/tags/PageTemplate
\whitespace trim
<section class="tc-story-river">
<section class="tc-story-river" role="main">
<section class="story-backdrop">