mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-09 21:07:49 +00:00
fix #750 - add collection/post author list labels
This commit is contained in:
@@ -43,7 +43,7 @@ export const CollectionCard = ({
|
||||
</div>
|
||||
</div>
|
||||
<div className={style.bottomRow}>
|
||||
<ul className={`unlist-inline ${style.authorList}`}>
|
||||
<ul className={`unlist-inline ${style.authorList}`} role="list" aria-label="Collection authors">
|
||||
{collection.authorsMeta?.map((author) => (
|
||||
<li>
|
||||
<a
|
||||
|
||||
@@ -23,7 +23,7 @@ function PostCardMeta({ post, unicornProfilePicMap }: PostCardProps) {
|
||||
className={style.cardIcon}
|
||||
dangerouslySetInnerHTML={{ __html: authors }}
|
||||
/>
|
||||
<ul className={style.authorList}>
|
||||
<ul className={style.authorList} role="list" aria-label="Post authors">
|
||||
{post.authorsMeta.map((author, i, arr) => (
|
||||
<li class="text-style-body-small-bold">
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user