From 055e64de4432cbd26ab48b631a8c0e246d385275 Mon Sep 17 00:00:00 2001 From: Yashraj Chouhan Date: Fri, 20 Mar 2026 13:29:42 +0530 Subject: [PATCH] fix(QDate): add aria-label to calendar day buttons for screen readers... --- ui/src/components/date/QDate.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/components/date/QDate.js b/ui/src/components/date/QDate.js index 023d5efc7fc..d4143fc8c27 100644 --- a/ui/src/components/date/QDate.js +++ b/ui/src/components/date/QDate.js @@ -1249,6 +1249,8 @@ export default createComponent({ color: day.color, textColor: day.textColor, label: day.i, + 'aria-label': getNativeDateFn.value({ year: viewModel.value.year, month: viewModel.value.month, day: day.i }) + .toLocaleDateString(innerLocale.value.lang, { weekday: 'long', day: 'numeric', month: 'long' }), tabindex: tabindex.value, ...getCache('day#' + day.i, { onClick: () => { onDayClick(day.i) },