Fix accessibility with experimental login button

Oops, my pseudo-button didn't behave quite right for keyboard-based opening the popover. Using an actual Button now!
This commit is contained in:
Emi Matchu 2022-08-26 16:33:09 -07:00
parent a663ee79df
commit e6176b6c16

View file

@ -736,9 +736,15 @@ function FeedbackFormPitch() {
<ListItem>
<Popover>
<PopoverTrigger>
<Box tabIndex="0" textDecoration="underline" cursor="pointer">
<Button
variant="link"
textDecoration="underline"
color="inherit"
fontSize="1em"
fontWeight="inherit"
>
Better login system
</Box>
</Button>
</PopoverTrigger>
<PopoverContent>
<PopoverArrow />