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:
parent
ed533da6d4
commit
8cbf8300d8
5 changed files with 19 additions and 19 deletions
|
@ -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'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue