A11y tweaks to the left pane and timeline

This commit is contained in:
Josh Perez 2023-01-23 11:59:12 -05:00 committed by GitHub
parent 4fc7c69a73
commit 9de33e4ffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 6 deletions

View file

@ -19,8 +19,14 @@ export const LastSeenIndicator = forwardRef<HTMLDivElement, Props>(
return (
<div className="module-last-seen-indicator" ref={ref}>
<div className="module-last-seen-indicator__bar" />
<div className="module-last-seen-indicator__text">{message}</div>
<div className="module-last-seen-indicator__bar" role="separator" />
<div
aria-level={6}
className="module-last-seen-indicator__text"
role="heading"
>
{message}
</div>
</div>
);
}