Skip to content

Commit 975928b

Browse files
committed
fix(a11y): replace :aria-pressed with :aria-selected for gridcell role
1 parent b59683e commit 975928b

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)