nvda
7b72c212 - Win10 Calc: results announcement in compact overlay and unit converter (PR #11883)

Commit
5 years ago
Win10 Calc: results announcement in compact overlay and unit converter (PR #11883) Follow on from #11880. * Avoid unit conversion result repetition. If a user presses Escape several times while focused on either 'convert from' or 'converts into' fields in unit converter, NVDA will announce the field again after a number is entered. This was traced to result announcement flag that is checked from name change event handler. To avoid repetition, add UIA Automation Id's for these elements (Value1 and Value2, respectively) to a list of no result announcement Id's. * Remove unit conversion Automation Id's from name change event handler element check Now that unit converter element Automation Id's were added to no result anouncement list, there's no need to check for these in name change event handler. * Announce calculation results in compact overlay (always on top) mode. Always on top (compact overlay) mode uses a different UIA Automation Id to represent results. Therefore add this to a list of Id's to be checked when handling results script (Enter, Numpad Enter, Escape).
Author
Parents
Loading