Skip to content

Commit

Permalink
Add alt attribute to images on the Add data page (#58767)
Browse files Browse the repository at this point in the history
* add alt attr to images

* add alt attr to images
  • Loading branch information
ryankeairns authored Feb 28, 2020
1 parent 8f9004b commit 3f7abe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ export function Synopsis({
if (iconUrl) {
optionalImg = <img className="synopsisIcon" src={iconUrl} alt="" />;
} else if (iconType) {
optionalImg = (
<EuiIcon
type={iconType}
// color="primary"
size="l"
/>
);
optionalImg = <EuiIcon type={iconType} alt="" size="l" />;
}

const classes = classNames('homSynopsis__card', {
Expand Down

0 comments on commit 3f7abe3

Please sign in to comment.