✨(frontend) set empty alt on logo due to Axe a11y error
image is decorative; alt was redundant with link aria-label Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
@@ -68,7 +68,7 @@ export const Header = () => {
|
||||
className="c__image-system-filter"
|
||||
data-testid="header-icon-docs"
|
||||
src={logo?.src || '/assets/icon-docs.svg'}
|
||||
alt={logo?.alt || t('Docs')}
|
||||
alt=""
|
||||
width={0}
|
||||
height={0}
|
||||
style={{
|
||||
|
||||
@@ -3,6 +3,5 @@ export interface HeaderType {
|
||||
src?: string;
|
||||
width?: string;
|
||||
height?: string;
|
||||
alt?: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user