Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only report captions when entering and exiting them (#16445)
Fixes #14874 Summary of the issue: NVDA reports the word "caption" before every element in a figcaption element, or before each line in same when navigating by line in browse mode. Description of user facing changes NVDA now reports "caption" only when first entering a figure caption, and "out of caption" when leaving it. Description of development approach Changed textInfos.ControlField.getPresentationCategory to return PRESCAT_CONTAINER when its role is controlTypes.Role.CAPTION .
- Loading branch information