fix(storefront): polish cart

Fix real regression: the payment success checkmark and timeout clock
icons had been corrupted to literal '?' glyphs (confirmed via git
history — ✓ and ⏱ were replaced), so a customer who just paid saw a
confusing '?' instead of a success indicator. Restored both icons and
marked them aria-hidden since the adjacent heading already conveys
the status.

Add missing accessible names to icon-only buttons that had none:
quantity increase/decrease controls and the mobile delete button
(desktop remove button had a title attribute only, which is not
reliably announced by screen readers — added aria-label alongside it).
New cart.increaseQuantity/decreaseQuantity keys added across all
three locales.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-07-19 23:39:14 +04:00
parent 56e311109a
commit f5225ac326
5 changed files with 15 additions and 7 deletions

View File

@@ -105,6 +105,8 @@ export const hy: Translations = {
autoClose: 'Պատուհանը կփակվի ավտոմատ...',
confirmClear: 'Վստա՞հ եք, որ ցանկանում եք մաքրել զամբյուղը',
removeItem: 'Հեռացնել ապրանքը',
increaseQuantity: 'Ավելացնել քանակը',
decreaseQuantity: 'Նվազեցնել քանակը',
paymentQrAlt: 'Վճարման QR կոդ',
acceptTerms: 'Խնդրում ենք ընդունել պայմանները՝ պատվերը հաստատելու համար։',
copyError: 'Պատճենման սխալ՝',