Skip to content

Commit

Permalink
fix: aria-label for CategoryLabel links
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Aug 11, 2024
1 parent 127ffb1 commit a14b187
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/CategoryLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const CategoryLabel: Component<{ category: string }> = (props) => {
<a
class={`category-label bg-category-${category.id}-bg dark:bg-category-${category.id}-bg-dark text-category-${category.id}-text dark:text-category-${category.id}-text-dark`}
href={`/category/${category.id}`}
aria-label={category.name}
>
{category.name}
</a>
Expand Down

0 comments on commit a14b187

Please sign in to comment.