]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs (tooltips): Fix "them" typo in markup section (#38751)
authorEricDunsworth <1907279+EricDunsworth@users.noreply.github.com>
Tue, 13 Jun 2023 21:03:34 +0000 (17:03 -0400)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2023 21:03:34 +0000 (00:03 +0300)
site/content/docs/5.3/components/tooltips.md

index d41b6e2cd00491ecabc7c6f8bdcf66243900ea57..ee98dd0583149a5b4351e41f399fe424bb42a467 100644 (file)
@@ -157,7 +157,7 @@ const tooltip = new bootstrap.Tooltip('#example', {
 The required markup for a tooltip is only a `data` attribute and `title` on the HTML element you wish to have a tooltip. The generated markup of a tooltip is rather simple, though it does require a position (by default, set to `top` by the plugin).
 
 {{< callout warning >}}
-**Keep tooltips accessible to keyboard and assistive technology users** by only adding them to HTML elements that are traditionally keyboard-focusable and interactive (such as links or form controls). While other HTML elements can be made focusable by adding `tabindex="0"`, this can create annoying and confusing tab stops on non-interactive elements for keyboard users, and most assistive technologies currently do not announce tooltips in this situation. Additionally, do not rely solely on `hover` as the trigger for your tooltips as this will make theme impossible to trigger for keyboard users.
+**Keep tooltips accessible to keyboard and assistive technology users** by only adding them to HTML elements that are traditionally keyboard-focusable and interactive (such as links or form controls). While other HTML elements can be made focusable by adding `tabindex="0"`, this can create annoying and confusing tab stops on non-interactive elements for keyboard users, and most assistive technologies currently do not announce tooltips in this situation. Additionally, do not rely solely on `hover` as the trigger for your tooltips as this will make them impossible to trigger for keyboard users.
 {{< /callout >}}
 
 ```html