Skip to content

Commit

Permalink
fixing a11y errors so we can add a11y rules to tslint (elastic#26895)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyarm committed Dec 11, 2018
1 parent 5ae28da commit b5328fe
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 b5328fe

Please sign in to comment.