Skip to content

Commit

Permalink
Fix a11y issues in .hstack example and placeholder 'How it works' e…
Browse files Browse the repository at this point in the history
…xample (#34892)
  • Loading branch information
julien-deramond authored Sep 4, 2021
1 parent 9852c9a commit 2a1aa2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/content/docs/5.1/components/placeholders.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ We apply additional styling to `.btn`s via `::before` to ensure the `height` is
<span class="placeholder col-6"></span>
</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 >}}

{{< callout info >}}
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.1/helpers/stacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Create an inline form with `.hstack`:

{{< example >}}
<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>
<div class="vr"></div>
<button type="button" class="btn btn-outline-danger">Reset</button>
Expand Down

0 comments on commit 2a1aa2a

Please sign in to comment.