From 37fe627d99a6acb97dbd4c17fde4c0722d1abb70 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Mon, 11 Apr 2022 20:58:01 +0200 Subject: [PATCH] feat(system): add aria attribute to menu --- packages/status-react/src/system/menu/menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/status-react/src/system/menu/menu.tsx b/packages/status-react/src/system/menu/menu.tsx index 71d41590..e9accdfa 100644 --- a/packages/status-react/src/system/menu/menu.tsx +++ b/packages/status-react/src/system/menu/menu.tsx @@ -50,7 +50,7 @@ const ItemBase = styled('div', { userSelect: 'none', whiteSpace: 'nowrap', - '&:focus, &[aria-expanded="true"]': { + '&:focus, &[aria-selected="true"], &[aria-expanded="true"]': { backgroundColor: '#EEF2F5', },