From: Chris Rebert Date: Mon, 16 Mar 2015 07:57:23 +0000 (-0700) Subject: Clarify that role="button" is required for dismiss-on-next-click popovers X-Git-Tag: v3.3.4~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ceae7b753137376ee00cd5a68004b7831c6eb9;p=thirdparty%2Fbootstrap.git Clarify that role="button" is required for dismiss-on-next-click popovers Refs #15947 --- diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 5f8c6e6610..5f39399872 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -123,7 +123,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">

Use the focus trigger to dismiss popovers on the next click that the user makes.

Specific markup required for dismiss-on-next-click

-

For proper cross-browser and cross-platform behavior, you must use the <a> tag, not the <button> tag, and you also must include a tabindex attribute.

+

For proper cross-browser and cross-platform behavior, you must use the <a> tag, not the <button> tag, and you also must include the role="button" and tabindex attributes.

Dismissible popover