Changes

Jump to navigation Jump to search
WAI-ARIA navigation role for container, heading role for "Contents"
{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div role="navigation" aria-labelledby="toc-title-text" class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}}
|left=float: left; clear: {{{clear|left}}};
|right=float: right; clear: {{{clear|right}}};
|center= margin:auto; clear: {{{clear|none}}};
|#default=clear: {{{clear|left}}};
}}">
<div {{#ifeq:{{{primary|}}}|false|style="text-align:center"|class="toctitle"}}>{{#ifeq:{{{primary|}}}|false|<strong role="heading" id="toc-title-text">{{{title|{{MediaWiki:Toc}} }}}</strong>|<h2 id="toc-title-text">{{{title|{{MediaWiki:Toc}} }}}</h2>}}
</div>
<noinclude>
{{TOC bottom}}
{{documentation}}</noinclude>
Anonymous user

Navigation menu