From d9675539139c21503dce7e3c567dbaac856bb138 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 15 Apr 2021 04:35:54 +0100 Subject: Remove aria-haspopup from dropdowns (#33624) `aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA). In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present. This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01 --- site/content/docs/4.6/examples/offcanvas/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content/docs/4.6/examples/offcanvas') diff --git a/site/content/docs/4.6/examples/offcanvas/index.html b/site/content/docs/4.6/examples/offcanvas/index.html index e90e429e7..dbc9ce124 100644 --- a/site/content/docs/4.6/examples/offcanvas/index.html +++ b/site/content/docs/4.6/examples/offcanvas/index.html @@ -29,7 +29,7 @@ body_class: "bg-light" Switch account