February 2015
Intermediate to advanced
768 pages
26h 24m
English
If you turn on Narrator and launch the HelloRealWorld app (with English as the Windows default language), you hear the following:
“HelloRealWorld window”
“Editing”
The first utterance is triggered by the app’s window getting focus, and the second utterance is triggered by the TextBox getting focus (which happens automatically).
This experience isn’t good enough, because Narrator doesn’t report the purpose of the TextBox. To fix this, we need to leverage the UI Automation framework, which is as simple as setting the following automation property on the TextBox:
<TextBox AutomationProperties.Name ="Please enter your name" Name="nameBox" Margin="12"/>
If you add this property then ...
Read now
Unlock full access