diff options
author | Julien Déramond <julien.deramond@orange.com> | 2021-09-04 09:36:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-04 09:36:18 +0300 |
commit | 2a1aa2a9f40fb8acffc27d93a374f1d243764043 (patch) | |
tree | 88b6fc18c9d7d294ff1e6e2812158124a8fb3e59 /site | |
parent | 9852c9afbb4945e18cbb4836438c91894bedeee0 (diff) |
Fix a11y issues in `.hstack` example and placeholder 'How it works' example (#34892)
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/5.1/components/placeholders.md | 2 | ||||
-rw-r--r-- | site/content/docs/5.1/helpers/stacks.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.1/components/placeholders.md b/site/content/docs/5.1/components/placeholders.md index cfbaf1672f..55545ec69a 100644 --- a/site/content/docs/5.1/components/placeholders.md +++ b/site/content/docs/5.1/components/placeholders.md @@ -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 >}} diff --git a/site/content/docs/5.1/helpers/stacks.md b/site/content/docs/5.1/helpers/stacks.md index a93a800460..c1316c3ad5 100644 --- a/site/content/docs/5.1/helpers/stacks.md +++ b/site/content/docs/5.1/helpers/stacks.md @@ -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> |