]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix accessibility issue on sidebars example (#34214)
authorLaussel Loïc <loic.laussel@orange.com>
Sun, 13 Jun 2021 05:12:22 +0000 (07:12 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Jun 2021 05:12:22 +0000 (08:12 +0300)
site/content/docs/5.0/examples/sidebars/index.html

index c97812128f230600bdda68046f0b845914363549..4d628f1c06eb45730e5eb538cf931634c7d45039 100644 (file)
@@ -195,22 +195,22 @@ body_class: ""
       </li>
       <li>
         <a href="#" class="nav-link py-3 border-bottom" title="Dashboard" data-bs-toggle="tooltip" data-bs-placement="right">
-          <svg class="bi" width="24" height="24"><use xlink:href="#speedometer2"/></svg>
+          <svg class="bi" width="24" height="24" role="img" aria-label="Dashboard"><use xlink:href="#speedometer2"/></svg>
         </a>
       </li>
       <li>
         <a href="#" class="nav-link py-3 border-bottom" title="Orders" data-bs-toggle="tooltip" data-bs-placement="right">
-          <svg class="bi" width="24" height="24"><use xlink:href="#table"/></svg>
+          <svg class="bi" width="24" height="24" role="img" aria-label="Orders"><use xlink:href="#table"/></svg>
         </a>
       </li>
       <li>
         <a href="#" class="nav-link py-3 border-bottom" title="Products" data-bs-toggle="tooltip" data-bs-placement="right">
-          <svg class="bi" width="24" height="24"><use xlink:href="#grid"/></svg>
+          <svg class="bi" width="24" height="24" role="img" aria-label="Products"><use xlink:href="#grid"/></svg>
         </a>
       </li>
       <li>
         <a href="#" class="nav-link py-3 border-bottom" title="Customers" data-bs-toggle="tooltip" data-bs-placement="right">
-          <svg class="bi" width="24" height="24"><use xlink:href="#people-circle"/></svg>
+          <svg class="bi" width="24" height="24" role="img" aria-label="Customers"><use xlink:href="#people-circle"/></svg>
         </a>
       </li>
     </ul>