Fix accesibility errors.

This commit is contained in:
Paulo Gustavo Veiga 2022-11-12 14:20:01 -08:00
parent 1723f41ea8
commit c4a7458221
2 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,7 @@ const AppBar = ({
onClick: () => history.back(),
},
{
render: () => <img src={LogoTextBlackSvg} />,
render: () => <img src={LogoTextBlackSvg} aria-label="WiseMappping" />,
visible: !capability.isHidden('appbar-title'),
},
{

View File

@ -81,6 +81,8 @@ const WarningDialog = ({ capability, message }: FooterPropsType): React.ReactEle
e.preventDefault();
e.stopPropagation();
}}
name="close"
aria-label="Close"
>
<img src={CloseDialogSvg} />
</button>