[frontend/components] Add feed and article landmarks. (ISH-537)

This commit is contained in:
Samuel Proulx 2024-10-17 23:09:02 -04:00 committed by Laura Hausmann
parent 80e84dbd30
commit 9112b9e993
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
@if (ComponentState is Core.Miscellaneous.State.Loaded)
{
<div role="feed" aria-label="timeline">
<VirtualScroller @ref=VirtualScroller NoteResponseList="State.Timeline" ReachedEnd="FetchOlder" ReachedStart="FetchNewer"/>
</div>
}
@if (ComponentState is Core.Miscellaneous.State.Loading)
{

View file

@ -8,7 +8,7 @@
}
@foreach (var el in State.RenderedList)
{
<div class="target" @ref="@Ref">
<div class="target" @ref="@Ref" role="article" aria-labelledby="note-header" aria-describedby="note-body">
<TimelineNote @key="el.Id" Note="el"></TimelineNote>
</div>
}