summaryrefslogtreecommitdiffstats
path: root/post.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 /post.php
parente5b7bf6f957c5d3f8af2a3e7e95d351e1d76b380 (diff)
🔖 Perf: 优化页面的 ARIA
Diffstat (limited to 'post.php')
-rw-r--r--post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.php b/post.php
index 1ae1f8c..9a35be8 100644
--- a/post.php
+++ b/post.php
@@ -2,9 +2,9 @@
$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" id="post-content"><!-- 文章内容 -->
+ <div class="post-content" role="article" id="post-content"><!-- 文章内容 -->
<?php $postCheck = Utils::isOutdated($this); if($postCheck["is"] && $this->is('post')): ?>
<div class="tip red" id="out-date-alert">
<div class="container-fluid"><div class="row">