Add comments regarding tab-index=-1

This commit is contained in:
Michael Telatynski 2019-11-04 10:16:16 +00:00
parent fd4cdd0dec
commit 6d3b563119
2 changed files with 2 additions and 0 deletions

View file

@ -787,6 +787,7 @@ module.exports = createReactClass({
this.props.permalinkCreator,
'replyThread',
);
// tab-index=-1 to allow it to be focusable but do not add tab stop for it, primarily for screen readers
return (
<div className={classes} tabIndex={-1}>
<div className="mx_EventTile_msgOption">