Barazo default frontend barazo.forum
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(a11y): increase tag link touch targets to meet WCAG 2.5.8 (#140)

Tag links on topic cards rendered at 20px height, below the 24px
minimum required by WCAG 2.5.8 Target Size. Add py-1 vertical padding
to both TopicCard and TopicView tag links (text-xs 16px line-height +
8px padding = 24px).

Fixes barazo-forum/barazo-workspace#70

authored by

Guido X Jansen and committed by
GitHub
cbef38e8 78207a64

+2 -2
+1 -1
src/components/topic-card.tsx
··· 78 78 <Link 79 79 key={tag} 80 80 href={`/tag/${tag}`} 81 - className="text-xs text-muted-foreground hover:text-foreground" 81 + className="inline-flex items-center py-1 text-xs text-muted-foreground hover:text-foreground" 82 82 > 83 83 #{tag} 84 84 </Link>
+1 -1
src/components/topic-view.tsx
··· 124 124 <Link 125 125 key={tag} 126 126 href={`/tag/${tag}`} 127 - className="inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground" 127 + className="inline-flex items-center gap-1 py-1 text-xs text-muted-foreground hover:text-foreground" 128 128 > 129 129 <Tag className="h-3 w-3" weight="regular" aria-hidden="true" />#{tag} 130 130 </Link>