File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export default class DateSeparator extends React.Component {
5757
5858 render ( ) {
5959 // ARIA treats <hr/>s as separators, here we abuse them slightly so manually treat this entire thing as one
60+ // tab-index=-1 to allow it to be focusable but do not add tab stop for it, primarily for screen readers
6061 return < h2 className = "mx_DateSeparator" role = "separator" tabIndex = { - 1 } >
6162 < hr role = "none" />
6263 < div > { this . getLabel ( ) } </ div >
Original file line number Diff line number Diff line change @@ -787,6 +787,7 @@ module.exports = createReactClass({
787787 this . props . permalinkCreator ,
788788 'replyThread' ,
789789 ) ;
790+ // tab-index=-1 to allow it to be focusable but do not add tab stop for it, primarily for screen readers
790791 return (
791792 < div className = { classes } tabIndex = { - 1 } >
792793 < div className = "mx_EventTile_msgOption" >
You can’t perform that action at this time.
0 commit comments