Revert "Use semantic HTML5 elements where applicable"

This reverts commit 125af06692.

Change-Id: I21fa5460017235c43f6ccf0ce815364d50bf1e34
This commit is contained in:
Volker E 2020-05-11 14:26:37 -07:00 committed by Jdlrobson
parent 4679efc000
commit 9581bdaa09
4 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@
footerRow[] array-footer-rows iterable list of footer rows
}}
{{{html-hook-vector-before-footer}}}
<footer id="footer" class="mw-footer" role="contentinfo" {{{html-userlangattributes}}}>
<div id="footer" class="mw-footer" role="contentinfo" {{{html-userlangattributes}}}>
{{#array-footer-rows}}
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
{{#array-items}}
@ -23,4 +23,4 @@
</ul>
{{/array-footer-rows}}
<div style="clear: both;"></div>
</footer>
</div>

View File

@ -1,7 +1,7 @@
{{!
See @typedef MenuDefinition
}}
<nav id="{{id}}" class="{{class}}" aria-labelledby="{{label-id}}" {{{html-tooltip}}}>
<div id="{{id}}" role="navigation" class="{{class}}" aria-labelledby="{{label-id}}" {{{html-tooltip}}}>
{{#is-dropdown}}
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{label-id}}" />
<h3 id="{{label-id}}" {{{html-userlangattributes}}}>
@ -22,6 +22,6 @@
{{{html-items}}}
</ul>
{{/is-portal}}
</nav>
</div>
{{! Note: html-hook-vector-after-toolbox is deprecated. }}
{{{html-hook-vector-after-toolbox}}}

View File

@ -39,7 +39,7 @@
<div id="mw-page-base" class="mw-header-placeholder noprint"></div>
<main id="content" class="mw-body">
<div id="content" class="mw-body" role="main">
<a id="top"></a>
{{#html-sitenotice}}
<div id="siteNotice" class="mw-body-content">{{{html-sitenotice}}}</div>
@ -67,7 +67,7 @@
<div class="visualClear"></div>
{{{html-debuglog}}}
</div>
</main>
</div>
{{{html-dataAfterContent}}}
<header class="mw-header">

View File

@ -37,7 +37,7 @@
{{{html-headelement}}}
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<main id="content" class="mw-body" role="main">
<div id="content" class="mw-body" role="main">
<a id="top"></a>
{{#html-sitenotice}}
<div id="siteNotice" class="mw-body-content">{{{html-sitenotice}}}</div>
@ -65,7 +65,7 @@
<div class="visualClear"></div>
{{{html-debuglog}}}
</div>
</main>
</div>
{{{html-dataAfterContent}}}
<div id="mw-navigation">
<h2>{{{html-navigation-heading}}}</h2>