]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: Remove unnecessary `href` and `tabindex="-1"` (#38196)
authorLouis-Maxime Piton <louismaxime.piton@orange.com>
Fri, 10 Mar 2023 17:17:38 +0000 (18:17 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2023 17:17:38 +0000 (11:17 -0600)
* Proposal

* fix(review)

site/content/docs/5.3/components/placeholders.md

index 5ebaab3aaac22cf439040cd4fd85079f42b0080e..6faf51e08308ea08ade2e5fb54cc5376305f0716 100644 (file)
@@ -38,7 +38,7 @@ In the example below, we take a typical card component and recreate it with plac
       <span class="placeholder col-6"></span>
       <span class="placeholder col-8"></span>
     </p>
-    <a href="#" tabindex="-1" class="btn btn-primary disabled placeholder col-6"></a>
+    <a class="btn btn-primary disabled placeholder col-6"></a>
   </div>
 </div>
 </div>
@@ -67,7 +67,7 @@ In the example below, we take a typical card component and recreate it with plac
       <span class="placeholder col-6"></span>
       <span class="placeholder col-8"></span>
     </p>
-    <a href="#" tabindex="-1" class="btn btn-primary disabled placeholder col-6"></a>
+    <a class="btn btn-primary disabled placeholder col-6"></a>
   </div>
 </div>
 ```
@@ -83,7 +83,7 @@ We apply additional styling to `.btn`s via `::before` to ensure the `height` is
   <span class="placeholder col-6"></span>
 </p>
 
-<a href="#" tabindex="-1" class="btn btn-primary disabled placeholder col-4" aria-hidden="true"></a>
+<a class="btn btn-primary disabled placeholder col-4"></a>
 {{< /example >}}
 
 {{< callout info >}}