feat(about): 添加导航项的无障碍标签并优化二维码加载逻辑
- 为首页和博客导航链接增加 aria-label 属性以提升无障碍访问性 - 移除微信公众号模态框中失效的二维码降级提示注释 - 删除冗余的 moments.js 和粒子系统相关脚本文件内容
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
</a>
|
||||
|
||||
<div class="nav-menu">
|
||||
<a href="index.html" class="nav-item">
|
||||
<a href="index.html" class="nav-item" aria-label="Home">
|
||||
<i class="ri-home-smile-2-line"></i>
|
||||
<span class="nav-label" data-i18n="nav.home">首页</span>
|
||||
</a>
|
||||
@@ -82,7 +82,7 @@
|
||||
<i class="ri-user-3-line"></i>
|
||||
<span class="nav-label" data-i18n="nav.about">关于</span>
|
||||
</a>
|
||||
<a href="https://blog.hehouhui.cn" class="nav-item">
|
||||
<a href="https://blog.hehouhui.cn" class="nav-item" aria-label="Honesty Blog">
|
||||
<i class="ri-quill-pen-line"></i>
|
||||
<span class="nav-label" data-i18n="nav.blog">博客</span>
|
||||
</a>
|
||||
@@ -321,7 +321,6 @@
|
||||
<h3 data-i18n="modal.wechat">Official Account</h3>
|
||||
<div class="qr-box">
|
||||
<img src="./images/mp-honesy.jpg" alt="WeChat QR" onerror="this.style.display='none';this.nextElementSibling.style.display='block'" loading="lazy" width="200" height="200">
|
||||
<!-- <div class="qr-fallback">QR Load Failed</div>-->
|
||||
</div>
|
||||
<p data-i18n="modal.desc">Scan to follow Tech Share</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user