Skip to content

Ensure the Windows 11 system tray calendar reports the day of the week in full#12862

Merged
seanbudd merged 6 commits into
masterfrom
fix-12757
Sep 20, 2021
Merged

Ensure the Windows 11 system tray calendar reports the day of the week in full#12862
seanbudd merged 6 commits into
masterfrom
fix-12757

Conversation

@seanbudd

@seanbudd seanbudd commented Sep 20, 2021

Copy link
Copy Markdown
Member

Link to issue number:

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.

Testing strategy:

Manually tested with Win11 using reproduction steps from #12757

Known issues with pull request:

Further work could be done to parse the date information and localize it, instead of reporting it as a table cell.

Change log entries:

Bug fixes

- Ensure the Windows 11 system tray calendar reports the day of the week in full. (#12757)

Code Review Checklist:

  • Pull Request description:
    • description is up to date
    • change log entries
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • API is compatible with existing add-ons.
  • Documentation:
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English

@seanbudd seanbudd requested a review from a team as a code owner September 20, 2021 03:17
@AppVeyorBot

This comment has been minimized.

@michaelDCurran michaelDCurran left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the suggested comment, I'm good with this.

Comment thread source/appModules/shellexperiencehost.py
@seanbudd seanbudd merged commit 6b4cf45 into master Sep 20, 2021
@seanbudd seanbudd deleted the fix-12757 branch September 20, 2021 05:18
@nvaccessAuto nvaccessAuto added this to the 2021.3 milestone Sep 20, 2021
@seanbudd seanbudd mentioned this pull request Sep 20, 2021
5 tasks
seanbudd added a commit that referenced this pull request Sep 20, 2021
Fixes the changelog message from #12862, for #12757

Summary of the issue:
Turns out that #12862 was also a Windows 10 issue, and #12757 fixed the issue in both cases.

Raised in this comment: #12757 (comment)

Description of how this pull request fixes the issue:
Changes the changelog message to be more general and consistent with other messages.
seanbudd added a commit that referenced this pull request Sep 21, 2021
…k 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Win11] NVDA is not announcing the current day (Sunday, Monday, etc.) properly in the calendar view.

4 participants