Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Fixed

- Change aria-label in shelf to be the same as product name (visible label)

## [2.91.1] - 2026-01-07

### Added
Expand Down
8 changes: 2 additions & 6 deletions react/ProductSummaryCustom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@
to: href,
onClick: autocompleteSummary ? actionOnClick : undefined,
onClickCapture: autocompleteSummary ? undefined : actionOnClick,
'aria-label': `View product details for ${
product?.productName || 'product'
}`,
'aria-label': `${product?.productName || 'product'}`,
}
: {
page: 'store.product',
Expand All @@ -184,13 +182,11 @@
query,
onClick: autocompleteSummary ? actionOnClick : undefined,
onClickCapture: autocompleteSummary ? undefined : actionOnClick,
'aria-label': `View product details for ${
product?.productName || 'product'
}`,
'aria-label': `${product?.productName || 'product'}`,
}

const eventParameters =
(product.advertisement as any)?.eventParameters ??

Check warning on line 189 in react/ProductSummaryCustom.tsx

View workflow job for this annotation

GitHub Actions / Lint

Unexpected any. Specify a different type
product.advertisement?.adId

const showSponsoredBadge = shouldShowSponsoredBadge(
Expand Down
Loading