Add tabIndex to the button to make it keyboard focusable

Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
This commit is contained in:
Marco Zehe 2019-12-06 16:03:19 +01:00
parent 78555ed422
commit 19e6587548

View file

@ -129,6 +129,7 @@ export default class ReactionsRowButton extends React.PureComponent {
return <span className={classes}
role="button"
aria-label={label}
tabindex="0"
onClick={this.onClick}
onMouseOver={this.onMouseOver}
onMouseOut={this.onMouseOut}