mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 11:29:58 +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.
31 lines
843 B
Plaintext
31 lines
843 B
Plaintext
title: $:/core/templates/server/static.sidebar.wikitext
|
|
|
|
\whitespace trim
|
|
<div class="tc-sidebar-scrollable" style="overflow: auto;" role="region" aria-label={{$:/language/SideBar/Caption}}>
|
|
<div class="tc-sidebar-header">
|
|
<h1 class="tc-site-title">
|
|
<$transclude tiddler="$:/SiteTitle"/>
|
|
</h1>
|
|
<div class="tc-site-subtitle">
|
|
<$transclude tiddler="$:/SiteSubtitle"/>
|
|
</div>
|
|
<h2>
|
|
</h2>
|
|
<div class="tc-sidebar-lists">
|
|
<$list filter={{$:/DefaultTiddlers}}>
|
|
<div class="tc-menu-list-subitem">
|
|
<$link><$text text=<<currentTiddler>>/></$link>
|
|
</div>
|
|
</$list>
|
|
</div>
|
|
<!-- Currently disabled the recent list as it is unweildy when the responsive narrow view kicks in
|
|
<h2>
|
|
{{$:/language/SideBar/Recent/Caption}}
|
|
</h2>
|
|
<div class="tc-sidebar-lists">
|
|
<$macrocall $name="timeline" format={{$:/language/RecentChanges/DateFormat}}/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-->
|