summaryrefslogtreecommitdiffstats
path: root/404.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-03 20:59:00 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-03 20:59:00 +0800
commit00dca7e1606eb14b9ccb387560a1980d43e730f9 (patch)
treef129a97554b316ae94f9b32e6fb92c8d5d4867d9 /404.php
parente5b7bf6f957c5d3f8af2a3e7e95d351e1d76b380 (diff)
🔖 Perf: 优化页面的 ARIA
Diffstat (limited to '404.php')
-rw-r--r--404.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/404.php b/404.php
index 5bef5d4..f4ce477 100644
--- a/404.php
+++ b/404.php
@@ -2,11 +2,11 @@
$this->need('includes/head.php');
$this->need('includes/header.php');
?>
- <main class="main-container container">
+ <main class="main-container container" role="main">
<div class="post-body">
<div class="post-content">
<h1 class="error-title">404</h1>
- <p style="text-align:center">
+ <p style="text-align:center" role="alert">
<span>肥肠抱歉,你访问的页面被猫吃掉了</span><br /><br />
<a href="<?php $this->options->SiteUrl(); ?>" class="button error-button no-line">返回首页</a>
</p>