Skip to content

Commit

Permalink
fix: a11y: turn daymarkers into <li>s
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca committed Jan 20, 2025
1 parent eeb5e8b commit a8bce41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/message/MessageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ export function DayMarker(props: { timestamp: number }) {
const rovingTabindex = useRovingTabindex(ref)

return (
<div className='info-message daymarker'>
<li className='info-message daymarker'>
<div
ref={ref}
className={`bubble ${rovingTabindex.className}`}
Expand All @@ -998,6 +998,6 @@ export function DayMarker(props: { timestamp: number }) {
sameElse: 'LL',
})}
</div>
</div>
</li>
)
}

0 comments on commit a8bce41

Please sign in to comment.