fix a11y and remove outline on dialog
Signed-off-by: Sofia Sjöblad <ssjoblad@spotify.com>
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
max-width: calc(100vw - 3rem);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Dialog entering animation */
|
||||
|
||||
@@ -53,7 +53,7 @@ export const DialogHeader = forwardRef<
|
||||
<Heading slot="title" className={classNames.headerTitle}>
|
||||
{children}
|
||||
</Heading>
|
||||
<Button variant="tertiary" slot="close">
|
||||
<Button name="close" aria-label="Close" variant="tertiary" slot="close">
|
||||
<RiCloseLine />
|
||||
</Button>
|
||||
</Flex>
|
||||
|
||||
Reference in New Issue
Block a user