Skip to content

Commit a8b5daf

Browse files
docs(MenuExampleStackable): Adding alt for logo (#4278)
`img` elements must have an `alt prop`, either with meaningful text, or an empty string for decorative images => `jsx-a11y/alt-text` Co-authored-by: Oleksandr Fediashov <[email protected]>
1 parent 4e8c08e commit a8b5daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/examples/collections/Menu/Variations/MenuExampleStackable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default class MenuExampleStackable extends Component {
1212
return (
1313
<Menu stackable>
1414
<Menu.Item>
15-
<img src='/logo.png' />
15+
<img alt="logo" src='/logo.png' />
1616
</Menu.Item>
1717

1818
<Menu.Item

0 commit comments

Comments
 (0)