Skip to content

Commit 5f67be3

Browse files
authored
Merge pull request #1102 from sahilrajthapa/fix/accessibility-issue
fix(a11y): replace :aria-pressed with :aria-selected for gridcell role
2 parents 180a1e8 + 975928b commit 5f67be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/components/DatePicker/DpCalendar.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
:key="dayInd + weekInd"
3636
role="gridcell"
3737
class="dp__calendar_item"
38-
:aria-pressed="
38+
:aria-selected="
3939
(dayVal.classData.dp__active_date ||
4040
dayVal.classData.dp__range_start ||
4141
dayVal.classData.dp__range_start) ??

0 commit comments

Comments
 (0)