Skip to content

Commit

Permalink
feat(Tooltip): add role and aria-hidden tags (reactstrap#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
RockinRonE committed May 17, 2018
1 parent 151f203 commit e512f6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ class Tooltip extends React.Component {
<div
{...attributes}
className={classes}
role='tooltip'
aria-hidden={this.props.isOpen}
onMouseOver={this.onMouseOverTooltipContent}
onMouseLeave={this.onMouseLeaveTooltipContent}
onKeyDown={this.onEscKeyDown}
Expand Down

0 comments on commit e512f6b

Please sign in to comment.