fix: accessibility fixes
This commit is contained in:
1 parent
1ccf80f9a2
commit
a15b88bdbd
14 files changed
+31
-44
No files matched your search
@@ -13,7 +13,7 @@ const {categories} = Astro.props;
|
||||
---
|
||||
<div>
|
||||
{Object.entries(categories).map(([key, value]) =>
|
||||
<ButtonLink url={getCategoryUrl(key)} badge={value.count}>{value.name}</ButtonLink>
|
||||
<ButtonLink url={getCategoryUrl(key)} badge={value.count} label=`View all posts in the ${value.name} category`>{value.name}</ButtonLink>
|
||||
<div class="ml-2">
|
||||
{Object.keys(value.children).length > 0 && <Astro.self categories={value.children}></Astro.self>}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user