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

@ -871,6 +871,7 @@ export class Timeline extends React.Component<
key={messageId}
data-item-index={itemIndex}
data-message-id={messageId}
role="listitem"
>
<ErrorBoundary i18n={i18n} showDebugLog={showDebugLog}>
{renderItem({
@ -1047,7 +1048,7 @@ export class Timeline extends React.Component<
{floatingHeader}
<div
<main
className="module-timeline__messages__container"
onScroll={this.onScroll}
ref={this.containerRef}
@ -1059,6 +1060,7 @@ export class Timeline extends React.Component<
haveOldest && 'module-timeline__messages--have-oldest'
)}
ref={this.messagesRef}
role="list"
>
{haveOldest && (
<>
@ -1079,7 +1081,7 @@ export class Timeline extends React.Component<
style={AT_BOTTOM_DETECTOR_STYLE}
/>
</div>
</div>
</main>
{shouldShowScrollDownButton ? (
<ScrollDownButton