[frontend/components] Add feed and article landmarks. (ISH-537)
This commit is contained in:
parent
80e84dbd30
commit
9112b9e993
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
@if (ComponentState is Core.Miscellaneous.State.Loaded)
|
@if (ComponentState is Core.Miscellaneous.State.Loaded)
|
||||||
{
|
{
|
||||||
|
<div role="feed" aria-label="timeline">
|
||||||
<VirtualScroller @ref=VirtualScroller NoteResponseList="State.Timeline" ReachedEnd="FetchOlder" ReachedStart="FetchNewer"/>
|
<VirtualScroller @ref=VirtualScroller NoteResponseList="State.Timeline" ReachedEnd="FetchOlder" ReachedStart="FetchNewer"/>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
@if (ComponentState is Core.Miscellaneous.State.Loading)
|
@if (ComponentState is Core.Miscellaneous.State.Loading)
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
}
|
}
|
||||||
@foreach (var el in State.RenderedList)
|
@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>
|
<TimelineNote @key="el.Id" Note="el"></TimelineNote>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue