Skip to content

Commit

Permalink
fix: PDP pickup options a11y improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrozdsap committed Aug 14, 2024
1 parent 31c3de9 commit 019f4a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
(esc)="close(CLOSE_WITHOUT_SELECTION)"
role="dialog"
aria-modal="true"
aria-labelledby="cx-pickup-option-dialog-title"
>
<div class="cx-dialog-content">
<!-- Modal Header -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<form [formGroup]="pickupOptionsForm">
<form [formGroup]="pickupOptionsForm" role="radiogroup">
<div class="form-check">
<input
type="radio"
role="radio"
name="pickupOption"
[attr.id]="deliveryId"
data-pickup="delivery"
value="delivery"
Expand All @@ -18,9 +18,9 @@
<div class="form-check">
<input
type="radio"
role="radio"
[attr.id]="pickupId"
data-pickup="pickup"
name="pickupOption"
value="pickup"
(click)="onPickupOptionChange('pickup')"
formControlName="pickupOption"
Expand Down

0 comments on commit 019f4a3

Please sign in to comment.