From 2dcdfad0281e50d8fb2fac0d1f70b557491849e0 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 71d4159..e9accdf 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', },