Skip to content

Commit

Permalink
feat(Tooltip): add TabIndex to a Tooltip without an icon (carbon-desi…
Browse files Browse the repository at this point in the history
  • Loading branch information
lekterable authored and alisonjoseph committed Oct 2, 2018
1 parent 05cc999 commit b237a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ export default class Tooltip extends Component {
</div>
) : (
<div
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
tabIndex="0"
id={triggerId}
className={triggerClasses}
ref={node => {
Expand Down

0 comments on commit b237a46

Please sign in to comment.