From 27db975067af5b676f1389d2774254b81059d9a4 Mon Sep 17 00:00:00 2001 From: Kiarokh Moattar Date: Thu, 4 Apr 2024 14:41:07 +0200 Subject: [PATCH] fix(popover): clarify for assistive tech, which popover trigger opens which popover content --- src/components/popover/popover.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/popover/popover.tsx b/src/components/popover/popover.tsx index 941c0d0ab0..348188db83 100644 --- a/src/components/popover/popover.tsx +++ b/src/components/popover/popover.tsx @@ -185,6 +185,7 @@ export class Popover { const attributes = { 'aria-haspopup': true, 'aria-expanded': this.open, + 'aria-controls': this.portalId, role: 'button', };