Skip to content

Commit

Permalink
aria-invalid use bool instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
Torgeir Pedersen Cook committed Jun 30, 2016
1 parent 424f95c commit 46375a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/account-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export default class AccountSelector extends React.Component {
ref={ assignTo('_accountInput') }
placeholder={this.props.placeholder}
aria-autocomplete="inline"
aria-invalid={this.props.inputError ? 'true' : 'false'}
aria-invalid={this.props.inputError}
/>
{this.state.showResetButton ?
<button
Expand Down

0 comments on commit 46375a9

Please sign in to comment.