Improve A11Y of timeline. Show TS & Actions on focus-within
This commit is contained in:
parent
db0e643f4d
commit
fd4cdd0dec
6 changed files with 18 additions and 6 deletions
|
@ -57,7 +57,7 @@ export default class DateSeparator extends React.Component {
|
|||
|
||||
render() {
|
||||
// ARIA treats <hr/>s as separators, here we abuse them slightly so manually treat this entire thing as one
|
||||
return <h2 className="mx_DateSeparator" role="separator">
|
||||
return <h2 className="mx_DateSeparator" role="separator" tabIndex={-1}>
|
||||
<hr role="none" />
|
||||
<div>{ this.getLabel() }</div>
|
||||
<hr role="none" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue