0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-19 11:52:21 +01:00

Fix a11y issues in .hstack example and placeholder 'How it works' example (#34892)

This commit is contained in:
Julien Déramond 2021-09-04 08:36:18 +02:00 committed by GitHub
parent 9852c9afbb
commit 2a1aa2a9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ We apply additional styling to `.btn`s via `::before` to ensure the `height` is
<span class="placeholder col-6"></span> <span class="placeholder col-6"></span>
</p> </p>
<a href="#" class="btn btn-primary disabled placeholder col-4" aria-hidden="true"></a> <a href="#" tabindex="-1" class="btn btn-primary disabled placeholder col-4" aria-hidden="true"></a>
{{< /example >}} {{< /example >}}
{{< callout info >}} {{< callout info >}}

View File

@ -68,7 +68,7 @@ Create an inline form with `.hstack`:
{{< example >}} {{< example >}}
<div class="hstack gap-3"> <div class="hstack gap-3">
<input class="form-control me-auto" type="text" placeholder="Add your item here..."> <input class="form-control me-auto" type="text" placeholder="Add your item here..." aria-label="Add your item here...">
<button type="button" class="btn btn-secondary">Submit</button> <button type="button" class="btn btn-secondary">Submit</button>
<div class="vr"></div> <div class="vr"></div>
<button type="button" class="btn btn-outline-danger">Reset</button> <button type="button" class="btn btn-outline-danger">Reset</button>