mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 07:06:41 +03:00
interface: changes ModalButton semantics for keyboard acessibility
fixes urbit/landscape#216
This commit is contained in:
parent
8f3afbd0ef
commit
a81bca8661
@ -60,7 +60,7 @@ const ModalButton = (props) => {
|
||||
</Box>
|
||||
</Box>
|
||||
)}
|
||||
<Box
|
||||
<Button
|
||||
onClick={() => setModalShown(true)}
|
||||
display="flex"
|
||||
alignItems="center"
|
||||
@ -73,7 +73,7 @@ const ModalButton = (props) => {
|
||||
{...rest}
|
||||
>
|
||||
<Icon icon={props.icon} mr={2} color={color}></Icon><Text color={color}>{props.text}</Text>
|
||||
</Box>
|
||||
</Button>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user