diff options
| author | Mark Otto <[email protected]> | 2017-12-24 20:06:33 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-12-26 13:18:19 -0800 |
| commit | 2435afe4e6f329ca567759f7d00890f6d523b35e (patch) | |
| tree | ecf1c2df66b3f09cf929aac63a889d87c36a271d /docs/4.0/components/tooltips.md | |
| parent | 2416801c7ea6e67d728096e0ed74568f6c742fc7 (diff) | |
| download | bootstrap-2435afe4e6f329ca567759f7d00890f6d523b35e.tar.xz bootstrap-2435afe4e6f329ca567759f7d00890f6d523b35e.zip | |
Move from h4s and misc to h5s so headings from example snippets don't show in our table of contents
Diffstat (limited to 'docs/4.0/components/tooltips.md')
| -rw-r--r-- | docs/4.0/components/tooltips.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/tooltips.md b/docs/4.0/components/tooltips.md index d0ef70183..e062138a0 100644 --- a/docs/4.0/components/tooltips.md +++ b/docs/4.0/components/tooltips.md @@ -124,7 +124,7 @@ $('#example').tooltip(options) 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 %} -#### Making tooltips work for keyboard and assistive technology users +##### Making tooltips work for keyboard and assistive technology users You should only add tooltips to HTML elements that are traditionally keyboard-focusable and interactive (such as links or form controls). Although arbitrary HTML elements (such as `<span>`s) can be made focusable by adding the `tabindex="0"` attribute, this will add potentially annoying and confusing tab stops on non-interactive elements for keyboard users. In addition, most assistive technologies currently do not announce the tooltip in this situation. {% endcallout %} |
