From 66ceae7b753137376ee00cd5a68004b7831c6eb9 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 16 Mar 2015 00:57:23 -0700 Subject: [PATCH] Clarify that role="button" is required for dismiss-on-next-click popovers Refs #15947 --- docs/_includes/js/popovers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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