]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add an explicit aria-label on link with svg on sample pages (#28360)
authorLaussel Loïc <loic.laussel@orange.com>
Wed, 27 Feb 2019 11:29:29 +0000 (12:29 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 27 Feb 2019 11:29:29 +0000 (13:29 +0200)
site/docs/4.3/examples/blog/index.html
site/docs/4.3/examples/dashboard/index.html
site/docs/4.3/examples/product/index.html

index 55b939380c7538cb4d7c12fa3d861031107ff4cd..ba4edd745237014316c4b6636fec433e01634a1d 100644 (file)
@@ -17,7 +17,7 @@ include_js: false
         <a class="blog-header-logo text-dark" href="#">Large</a>
       </div>
       <div class="col-4 d-flex justify-content-end align-items-center">
-        <a class="text-muted" href="#">
+        <a class="text-muted" href="#" aria-label="Search">
           <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="mx-3" role="img" viewBox="0 0 24 24"><title>Search</title><circle cx="10.5" cy="10.5" r="7.5"/><path d="M21 21l-5.2-5.2"/></svg>
         </a>
         <a class="btn btn-sm btn-outline-secondary" href="#">Sign up</a>
index 1b641b62093adbd755a4eb20bf875b87ec763d69..836e29b367d51ed11b097dab662afc63f40e18d5 100644 (file)
@@ -63,7 +63,7 @@ extra_js:
 
         <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
           <span>Saved reports</span>
-          <a class="d-flex align-items-center text-muted" href="#">
+          <a class="d-flex align-items-center text-muted" href="#" aria-label="Add a new report">
             <span data-feather="plus-circle"></span>
           </a>
         </h6>
index 279aabcc51c38e6f08e32be04d0519baf8a76ae4..8179b921e57cb895a36fe5ec933c1c6f28055e78 100644 (file)
@@ -6,7 +6,7 @@ extra_css: "product.css"
 
 <nav class="site-header sticky-top py-1">
   <div class="container d-flex flex-column flex-md-row justify-content-between">
-    <a class="py-2" href="#">
+    <a class="py-2" href="#" aria-label="Product">
       <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="d-block mx-auto" role="img" viewBox="0 0 24 24"><title>Product</title><circle cx="12" cy="12" r="10"/><path d="M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83m13.79-4l-5.74 9.94"/></svg>
     </a>
     <a class="py-2 d-none d-md-inline-block" href="#">Tour</a>