Windows 10/11 Calculator: report correct number after paste by fetching the value directly from the UI element. (#16672)
Fixes #16573
Summary of the issue:
When pasting into the calculator, both speech and braille reported a truncated result (for example 1 instead of 12.34)
Description of user facing changes
When pasting into the Windows 10/11 calculator, the correct number is announced.
Description of development approach
While handling UIA notification events, NVDA may announce screen changes not caused by number entry or results commands, and this is what is being handled (pasting from clipboard, for example).
NVDA will traverse through result element's children, looking for the actual result.
NVDA will announce the element's content once actual result element is identified.