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:
parent
9852c9afbb
commit
2a1aa2a9f4
@ -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 >}}
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user