fix: WCAG 2.2.2 hero autoplay pause control, invisible keyboard-focusable cart button, literal hex token
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
- Hero widget autoplay had no pause control and ignored prefers-reduced-motion (WCAG 2.2.2 requires a way to pause auto-updating content lasting >5s). Added a pause/resume toggle button and skip autoplay entirely when the OS prefers reduced motion. - Cart's swipe-reveal delete-btn-mobile was reachable by Tab even while invisible (opacity: 0, only the touch-swipe gesture could reveal it) - a confusing, unusable focus stop for keyboard users. Now tabindex=-1 + aria-hidden until swiped. Keyboard users already had a full removal path via the always-visible header remove button; this just stops the redundant hidden button from being a dead tab stop. - stars.component.scss hardcoded #cdd6d5 for the unfilled-star color instead of the --border-color design token. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1129,6 +1129,8 @@ export const ru: Translations = {
|
||||
nextProducts: 'Следующие товары',
|
||||
previousSlide: 'Предыдущий слайд',
|
||||
nextSlide: 'Следующий слайд',
|
||||
pauseAutoplay: 'Приостановить слайд-шоу',
|
||||
resumeAutoplay: 'Возобновить слайд-шоу',
|
||||
closeDialog: 'Закрыть диалог',
|
||||
dismiss: 'Скрыть',
|
||||
qrCode: 'QR-код',
|
||||
|
||||
Reference in New Issue
Block a user