Skip to content
Snippets Groups Projects
Commit dd84693c authored by Jack Reed's avatar Jack Reed Committed by Chris Beer
Browse files

Remove close button and label when arialabel does not exist (hidden window preview state)

parent 624698c9
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,9 @@ export class MinimalWindow extends Component {
aria-label={t('closeWindow')}
className={cn(classes.button, ns('window-close'))}
onClick={removeWindow}
TooltipProps={{
tabIndex: ariaLabel ? '0' : '-1',
}}
>
<CloseIcon />
</MiradorMenuButton>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment