nvda
6b4cf45f - Ensure the Windows 11 system tray calendar reports the day of the week in full (#12862)

Commit
4 years ago
Ensure the Windows 11 system tray calendar reports the day of the week in full (#12862) Fixes #12757 Summary of the issue: While navigating the calendar, NVDA reads days as follows: `26 data item ‎August‎ ‎2021 row 4 Th column 5` as opposed to `26 data item ‎August‎ ‎2021 row 4 Thursday column 5`. The abbreviated days of the week, which make up the column headers of the table and aren't focusable, are read. Instead, the UIA name of the column header should be read. Description of how this pull request fixes the issue: Adds: `UIATableItemPattern`, a small independent change that helped with investigating Abstracts shared code from `_get_rowHeaderText` and `_get_columnHeaderText` into `_getTextFromHeaderElement`. Overload `_getTextFromHeaderElement` in `CalendarViewDayItem` to read the correct label. Manually tested with Win11 using reproduction steps from #12757 Further work could be done to parse the date information and localize it, instead of reporting it as a table cell.
Author
Parents
Loading