Set aria-label to repo refresh button

This commit is contained in:
Sergio Padrino 2023-07-05 17:20:32 +02:00
parent c320f73881
commit 6be4c64e05

View file

@ -248,11 +248,14 @@ export class CloneableRepositoryFilterList extends React.PureComponent<ICloneabl
}
private renderPostFilter = () => {
const tooltip = 'Refresh the list of repositories'
return (
<Button
disabled={this.props.loading}
onClick={this.refreshRepositories}
tooltip="Refresh the list of repositories"
ariaLabel={tooltip}
tooltip={tooltip}
>
<Octicon
symbol={syncClockwise}