Skip to content

Commit

Permalink
Merge pull request #4 from jasonchangxo/fix/option-aria-labels
Browse files Browse the repository at this point in the history
Edit aria-label value
  • Loading branch information
jasonchangxo authored Sep 28, 2017
2 parents 6124dab + 329f8e5 commit cf32668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Option.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var Option = function (_React$Component) {
{ className: className,
style: option.style,
role: 'option',
'aria-label': this.props.option.label,
'aria-label': this.props.children,
onMouseDown: this.handleMouseDown,
onMouseEnter: this.handleMouseEnter,
onMouseMove: this.handleMouseMove,
Expand Down

0 comments on commit cf32668

Please sign in to comment.