refactor: popover a11y aria attributes
This commit is contained in:
@@ -36,7 +36,7 @@ const AccountMenuButton = ({ hasError, controller, mainApplicationGroup, onClick
|
||||
</StyledTooltip>
|
||||
<Popover
|
||||
title="Account"
|
||||
anchorElement={buttonRef.current}
|
||||
anchorElement={buttonRef}
|
||||
open={isOpen}
|
||||
togglePopover={toggleMenu}
|
||||
side="top"
|
||||
|
||||
@@ -51,7 +51,7 @@ const QuickSettingsButton = ({ application, isMobileNavigation = false }: Props)
|
||||
<Popover
|
||||
title="Quick settings"
|
||||
togglePopover={toggleMenu}
|
||||
anchorElement={buttonRef.current}
|
||||
anchorElement={buttonRef}
|
||||
open={isOpen}
|
||||
side="top"
|
||||
align="start"
|
||||
|
||||
@@ -56,7 +56,7 @@ const VaultSelectionButton = ({ isMobileNavigation = false }: { isMobileNavigati
|
||||
<Popover
|
||||
title="Vault options"
|
||||
togglePopover={toggleMenu}
|
||||
anchorElement={buttonRef.current}
|
||||
anchorElement={buttonRef}
|
||||
open={isOpen}
|
||||
side="top"
|
||||
align="start"
|
||||
|
||||
Reference in New Issue
Block a user