mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Fix accesibility errors.
This commit is contained in:
parent
1723f41ea8
commit
c4a7458221
@ -95,7 +95,7 @@ const AppBar = ({
|
|||||||
onClick: () => history.back(),
|
onClick: () => history.back(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
render: () => <img src={LogoTextBlackSvg} />,
|
render: () => <img src={LogoTextBlackSvg} aria-label="WiseMappping" />,
|
||||||
visible: !capability.isHidden('appbar-title'),
|
visible: !capability.isHidden('appbar-title'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -81,6 +81,8 @@ const WarningDialog = ({ capability, message }: FooterPropsType): React.ReactEle
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
|
name="close"
|
||||||
|
aria-label="Close"
|
||||||
>
|
>
|
||||||
<img src={CloseDialogSvg} />
|
<img src={CloseDialogSvg} />
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user