Dominic,
I allways start chrome with the option for accessibility and check the tree in chrome with chrome://accessibility
Even when I try out of the box with Windows SDK tool inspect.exe I see those issues. So in general I have access / recognize the html elements but I can see I miss attribute values like name for a textbox and I cannot use the action patterns although the Is...PatternAvailable methods return initially true.
For example I filed this issue (but no clue if somebody will act on that quickly)
So I make use of
using scripting language AutoIT
1. Getting the element goes fine (although textboxes cannot be found by name, so i just traverse the tree with a treewalker)
2. Getting the patterns goes fine (at least I get access to those objects, using IUIAutomationElement::GetCurrentPattern method)
for example patterns found
- UIA_IsLegacyIAccessiblePatternAvailablePropertyId ( returns IUIAutomationLegacyIAccessiblePattern )
3. But once I have the pattern and for example try to use on
b. the search textbox
c. use the setvalue method from the LegacyIAccessiblePattern
Easiest way to reproduce/see this
is by selecting the element in inspect.exe (out of windows SDK) and in the actions menu choose for one of the setvalue options in the menu on the searchtextbox of
www.google.com
regards,
Elwin