mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 07:36:18 +00:00
f02bd2392f
* 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.
30 lines
617 B
Plaintext
30 lines
617 B
Plaintext
title: $:/core/ui/PageTemplate/story
|
|
tags: $:/tags/PageTemplate
|
|
|
|
\whitespace trim
|
|
<section class="tc-story-river" role="main">
|
|
|
|
<section class="story-backdrop">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]">
|
|
|
|
<$transclude/>
|
|
|
|
</$list>
|
|
|
|
</section>
|
|
|
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/StoryTiddlerTemplate" storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/>
|
|
|
|
<section class="story-frontdrop">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]">
|
|
|
|
<$transclude/>
|
|
|
|
</$list>
|
|
|
|
</section>
|
|
|
|
</section>
|