feat(ui): add ViewCounter component and enhance accessibility annotations

Introduce a new `ViewCounter` component to manage view tracking for content. Add biome-ignore comments for accessibility standards in several UI components, enhance semantic element usage, and improve tag handling in `SearchSidebar`.
This commit is contained in:
Mathis HERRIOT
2026-01-14 22:18:50 +01:00
parent 0a1391674f
commit 0611ef715c
10 changed files with 55 additions and 17 deletions

View File

@@ -117,6 +117,7 @@ function Carousel({
canScrollNext,
}}
>
{/* biome-ignore lint/a11y/useSemanticElements: standard pattern for carousels */}
<div
onKeyDownCapture={handleKeyDown}
className={cn("relative", className)}
@@ -156,6 +157,7 @@ function CarouselItem({ className, ...props }: React.ComponentProps<"div">) {
const { orientation } = useCarousel();
return (
// biome-ignore lint/a11y/useSemanticElements: standard pattern for carousel items
<div
role="group"
aria-roledescription="slide"