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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user