Add empty alt tags for decorative images
This commit is contained in:
parent
c8d361dc3e
commit
97a55e843c
1 changed files with 3 additions and 3 deletions
|
|
@ -33,15 +33,15 @@ class Button extends React.Component<Props, State> {
|
||||||
let icon
|
let icon
|
||||||
if (this.props.type === 'new') {
|
if (this.props.type === 'new') {
|
||||||
icon = <span className='icon'>
|
icon = <span className='icon'>
|
||||||
<img src="/icons/new.svg" />
|
<img alt="" src="/icons/new.svg" />
|
||||||
</span>
|
</span>
|
||||||
} else if (this.props.type === 'menu') {
|
} else if (this.props.type === 'menu') {
|
||||||
icon = <span className='icon'>
|
icon = <span className='icon'>
|
||||||
<img src="/icons/menu.svg" />
|
<img alt="" src="/icons/menu.svg" />
|
||||||
</span>
|
</span>
|
||||||
} else if (this.props.type === 'link') {
|
} else if (this.props.type === 'link') {
|
||||||
icon = <span className='icon'>
|
icon = <span className='icon'>
|
||||||
<img src="/icons/link.svg" />
|
<img alt="" src="/icons/link.svg" />
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue