fix #761 - implement collection page a11y improvements

This commit is contained in:
James Fenn
2023-10-02 11:03:15 -04:00
parent c904877760
commit 343b116599

View File

@@ -77,7 +77,11 @@ const coverImgWidth = Math.max(480, Math.ceil(720 * coverImgAspectRatio));
))
}
</div>
<ul class={styles.authorsList}>
<ul
class={styles.authorsList}
role="list"
aria-label="Collection authors"
>
{
collectionMeta.authorsMeta.map((author) => {
const authorPosts = posts.filter(
@@ -103,7 +107,7 @@ const coverImgWidth = Math.max(480, Math.ceil(720 * coverImgAspectRatio));
picture={unicornProfilePicMap.find(
(u) => u.id === author.id,
)}
alt={author.name}
alt=""
/>
</div>
<div class={styles.authorMetaData}>