fix value of aria-setsize being incorrectly set in some cases
This commit is contained in:
parent
f2c4a19bfc
commit
4e8d3d6e11
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ export class ResultList extends Component<Props> {
|
|||
onClick={this.onResultClicked(result)}
|
||||
onMouseMove={this.onMouseMove(index)}
|
||||
aria-posinset={index + 1}
|
||||
aria-setsize={showLoadMoreResults ? results.length + 1 : results}
|
||||
aria-setsize={showLoadMoreResults ? results.length + 1 : results.length}
|
||||
aria-selected={active}
|
||||
aria-label={label}
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue