Skip to content

App modules/SearchUI: announce search result details with the 2019 UI redesign applied#13620

Merged
seanbudd merged 6 commits intonvaccess:masterfrom
josephsl:i13544searchuiResultDetails
Apr 26, 2022
Merged

App modules/SearchUI: announce search result details with the 2019 UI redesign applied#13620
seanbudd merged 6 commits intonvaccess:masterfrom
josephsl:i13544searchuiResultDetails

Conversation

@josephsl
Copy link
Contributor

Link to issue number:

Fixes #13544

Summary of the issue:

In 2019, Start menu/Windows Search UI has changed, causing NVDA to not announce search result details. This was traced to search result items being grandchildren of the results list.

Description of how this pull request fixes the issue:

In addition to lint and documentation update, check the instance of the obj.parent.parent (grandparent) to make sure it is results list so NVDA can announce search result details. This is applicable to Windows 10 and 11.

Testing strategy:

Manual testing:

  1. Open Start enu and search for things.
  2. Press down arrow to review results.
  3. Press Tab to review result groups.

Known issues with pull request:

None

Change log entries:

Bug fixes:

NVDA will once again announce Start menu search result details in recent Windows 10 and 11 releases. (#13544)

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

…m. Re nvaccess#13544.

Windows Search user interface has changed in 2019, causing NVDA to not announce search result details. This is because suggestion list items are now grandchildren of the results list, not its children. Therefore also check grandparent object when detecting suggestion list items, allowing NVDA to announce result details on Windows 10 and 11.
…app modules exist to handle later Windows releases.

Alias app modules fos SearchUI app module:
* searchapp: Windows 10 Version 2004 and later
* searchhost: Windows 11
Although alias app modules do have intro comments, add a comment to the base app module as well.
@josephsl josephsl requested a review from a team as a code owner April 21, 2022 01:46
@josephsl josephsl requested a review from michaelDCurran April 21, 2022 01:46
@AppVeyorBot
Copy link

See test results for failed build of commit a4b3ba4c1a

elif (
obj.role == controlTypes.Role.LISTITEM and (
isinstance(obj.parent, SuggestionListItem)
or isinstance(obj.parent.parent, SuggestionListItem)
Copy link
Member

Choose a reason for hiding this comment

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

Is this a safe getattr? Can obj.parent be None?

@josephsl
Copy link
Contributor Author

josephsl commented Apr 22, 2022 via email

@seanbudd seanbudd merged commit 7bbe109 into nvaccess:master Apr 26, 2022
@nvaccessAuto nvaccessAuto added this to the 2022.2 milestone Apr 26, 2022
@josephsl josephsl deleted the i13544searchuiResultDetails branch April 30, 2022 16:53
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.

Windows 10/11 Start menu search: NVDA does not announce search results with details when tabbing through results

4 participants