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 --- js/tests/visual/tab.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/tests/visual/tab.html') diff --git a/js/tests/visual/tab.html b/js/tests/visual/tab.html index 1ffedec95..fd4a7c68a 100644 --- a/js/tests/visual/tab.html +++ b/js/tests/visual/tab.html @@ -164,7 +164,7 @@ Home Profile