Skip to content

Commit

Permalink
#28: Make react-hint ARIA-compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
slmgc committed Aug 2, 2018
1 parent 6b433bc commit 6bcd965
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export default ({Component, createElement}) =>
{target &&
<div className={`${className} ${className}--${at}`}
ref={(ref) => this._hint = ref}
role="tooltip"
style={{top, left}}>
{onRenderContent
? onRenderContent(target, content)
Expand Down

0 comments on commit 6bcd965

Please sign in to comment.