Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "NVDAObject.presentationType: groupings with position informat…
…ion but no name and no description should still be treated as content I.e. announced in focus ancestry. (#14878)" (#15638) This reverts commit bcc7f25. Link to issue number: Reverts pr #14878 Closes #15324 Summary of the issue: Traditionally, NvDA has only ever announced groupings in the focus ancestry if they have a name or description. Recently Microsoft had been placing unlabeled groupings within context menus in Office and other places, to denote visual spacing. Microsoft had also recently been exposing position info (x of y) on these groupings. In order to take advantage of this new info, through suggestion from Microsoft, in pr #14878 NVDA started announcing these unalabeled groupings, if they had position info. the advantage being that the blind user would then have a much better idea of how these context menu items were grouped, and just how many were in each section. However, it is very clear based on user feedback, that there are way too many small groupings for the extra speech to outway missing info. There are many groupings in these context menus with only 1 or 2 items, greatly slowing down a user's navigation. Description of user facing changes NVDA will again no longer report unlabeled gorupings in the focus ancestory. Description of development approach Reverts pr #14878. this pr also tightens up the detection of labels for groupings and similar controls to ignore names and descriptions that only contain whitespace. This is necessary as in some builds of Office, Microsoft also started exposing a space character on the name of unlabeled groupings in order to force screen readers to announce the unlabeled groupings.
- Loading branch information