Merged in fix/BOOK-119-accessibility-redemption-radiogroup (pull request #3172)

fix(BOOK-119): reward nights accessible radiogroup

* fix(BOOK-119): reward nights accessible radiogroup

* fix(BOOK-119): pr comment focus

* fix(BOOK-119): added roomtype name to the radiogroup for accessibility improvment


Approved-by: Matilda Haneling
Approved-by: Erik Tiekstra
This commit is contained in:
Bianca Widstam
2025-11-20 13:28:21 +00:00
parent b1d7fbad88
commit ebd6e1dc2c
12 changed files with 51 additions and 13 deletions

View File

@@ -24,6 +24,7 @@ interface CampaignRateCardProps {
isHighlightedRate?: boolean
isHighlightedRateLabel?: boolean
approximateRate?: Rate
roomTypeCode: string
handleChange: () => void
handleTermsClick?: () => void
rateTermDetails: RateTermDetails[]
@@ -35,6 +36,7 @@ export default function CampaignRateCard({
rateTitle,
paymentTerm,
rate,
roomTypeCode,
memberRate,
approximateRate,
comparisonRate,
@@ -60,8 +62,8 @@ export default function CampaignRateCard({
onPress={handleChange}
className={styles.buttonOverlay}
aria-pressed={isSelected}
aria-labelledby={`${id}-title`}
aria-describedby={`${id}-details`}
aria-describedby={`${roomTypeCode} ${id}-title`}
aria-labelledby={`${id}-details`}
/>
<div className={styles.banner}>
<MaterialIcon size={16} icon="sell" color="CurrentColor" />