Skip to content

Commit 345a997

Browse files
Update aria-describedby and product description ID
1 parent e62823d commit 345a997

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/home/products-section.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default function ProductsSection({ className }: ProductsSectionProps) {
191191
{/* Product Detail Modal */}
192192
<DialogContent
193193
className="max-w-5xl max-h-[90vh] overflow-y-auto"
194-
aria-describedby="product-description"
194+
aria-describedby={`product-description-${product.id}`}
195195
>
196196
<DialogHeader>
197197
<div className="flex items-center gap-3">
@@ -221,7 +221,7 @@ export default function ProductsSection({ className }: ProductsSectionProps) {
221221
</div>
222222

223223
{/* Description */}
224-
<div className="space-y-3" id="product-description">
224+
<div className="space-y-3" id={`product-description-${product.id}`}>
225225
<h4 className="text-lg font-semibold">About {product.name}</h4>
226226
<div className="text-muted-foreground whitespace-pre-line leading-relaxed">
227227
{product.fullDescription}

0 commit comments

Comments
 (0)