如何修复 Google Lighthouse“链接不可抓取”错误

How to fix Google Lighthouse 'Links are not crawlable' error

提问人:Sandy 提问时间:10/20/2023 最后编辑:Sandy 更新时间:10/23/2023 访问量:45

问:

我在 PageSpeed 链接不可抓取时遇到错误。该代码是一个手风琴,它在 Bootstrap 中使用 data-bs-target=“#faq-list-1” 打开和关闭。请告知我如何使可爬行,以遵守?来自Page speed的信息是:什么是楼梯升降机?

<a data-bs-toggle="collapse" class="collapse" data-bs-target="faq-list-1">

手风琴这一部分的完整分区:

<!--  <div class="faq-list"> <ul> <li data-aos="fade-up"> <i class="bx bx-help-circle icon-help"></i> <a data-bs-toggle="collapse" class="collapse" data-bs-target="#faq-list-1">What is a stairlift?<i class="bx bx-chevron-down icon-show"></i><i class="bx bx-chevron-up icon-close"></i></a> <div id="faq-list-1" class="collapse show" data-bs-parent=".faq-list"> <p> A stairlift is like a personal lift for your stairs. It helps people who have trouble walking up and down stairs to do so safely and easily. You would normally sit on it, and it will carry you up or down the staircase. </p> </div> </li>  -->

“我试过了”

<!--  <a data-bs-toggle="collapse" class="collapse" data-bs-target="https://stairlifts-hereford.com//#faq-list-1">  -->
HTML Bootstrap-4 谷歌PageSpeed

评论


答: 暂无答案