fix: Use a main tag for the main part of the page

See https://dequeuniversity.com/rules/axe/2.2/bypass?application=lighthouse
This commit is contained in:
Pierre Rudloff 2018-01-16 13:07:10 +01:00
parent ed533da6d4
commit 8cbf8300d8
5 changed files with 19 additions and 19 deletions

View file

@ -1,14 +1,14 @@
{include file='inc/head.tpl'}
<div class="wrapper">
<div class="main error">
{include file="inc/logo.tpl"}
<h2>{t}An error occurred{/t}</h2>
{t}Please check the URL of your video.{/t}
<p><i>
{foreach $errors as $error}
{$error|escape}
<br/>
{/foreach}
</i></p>
</div>
<main class="main error">
{include file="inc/logo.tpl"}
<h2>{t}An error occurred{/t}</h2>
{t}Please check the URL of your video.{/t}
<p><i>
{foreach $errors as $error}
{$error|escape}
<br/>
{/foreach}
</i></p>
</main>
{include file='inc/footer.tpl'}