Skip to content

Commit

Permalink
fixing a11y errors so we can add a11y rules to tslint (#26895) (#26936)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyarm authored Dec 11, 2018
1 parent 17b6fc7 commit 0dbf35b
Showing 1 changed file with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,25 @@ export class WaffleNodeTypeSwitcher extends React.PureComponent<Props> {
}
onClick={this.handleClick(InfraNodeType.host)}
>
<img src="../plugins/infra/images/hosts.svg" className="euiIcon euiIcon--large" />
<img
src="../plugins/infra/images/hosts.svg"
role="presentation"
className="euiIcon euiIcon--large"
/>
</EuiKeyPadMenuItem>
<EuiKeyPadMenuItem label="Kubernetes" onClick={this.handleClick(InfraNodeType.pod)}>
<img src="../plugins/infra/images/k8.svg" className="euiIcon euiIcon--large" />
<img
src="../plugins/infra/images/k8.svg"
role="presentation"
className="euiIcon euiIcon--large"
/>
</EuiKeyPadMenuItem>
<EuiKeyPadMenuItem label="Docker" onClick={this.handleClick(InfraNodeType.container)}>
<img src="../plugins/infra/images/docker.svg" className="euiIcon euiIcon--large" />
<img
src="../plugins/infra/images/docker.svg"
role="presentation"
className="euiIcon euiIcon--large"
/>
</EuiKeyPadMenuItem>
</EuiKeyPadMenu>
);
Expand Down

0 comments on commit 0dbf35b

Please sign in to comment.