AXSharedFocusElements with progressive search (typing)
AXSharedFocusElements with progressive search (typing)
- Subject: AXSharedFocusElements with progressive search (typing)
- From: Boris Dušek <email@hidden>
- Date: Fri, 22 Aug 2014 23:16:48 +0200
Hello,
I am having a problem using the AXSharedFocusElements attribute to implement a search experience on par with Spotlight in Yosemite.
The situation is simple: an AXSearchField has an AXTable as its only AXSharedFocusElements. When VoiceOver cursor and keyboard focus are on the search field, then when selection moves in the table to a different row, the newly selected row is properly announced. So far so good.
But let’s say I have typed a part of a search string, which leads to some search results shown in the table with its first row selected. But now I type one more letter which filters down the results table even more, the first row is still selected, but now it contains different content (because the row selected before typing the letter no longer matches the new filter string). I would like VoiceOver to announce the different content of the selected row, as it does in Spotlight.
I tried using Accessibility Inspector on the Spotlight window and apart from AXSharedFocusElements, did not notice anything out of the ordinary that could be making the above described extra behavior happen.
Does anyone have any suggestions as to what should I try to achieve announcements when it is the content of the selected row, not the selected row index itself, that changes, so that the search experience during progressive typing of the filter string is better?
If it helps, the case I am trying to improve is TextMate’s bundle item chooser: you can download TextMate 2 here: https://github.com/textmate/textmate/releases/download/v2.0-alpha.9561/TextMate_2.0-alpha.9561.tbz
After launching it, you can open the bundle item chooser using Ctrl-Cmd-T, then you can try to type “bi”, which should select “Select Bundle Item… – Main Menu >> Bundles” row in the results table.
If you then type “g” (so that the filter string is “big”), the first row is still selected but now it contains “Bigger – Main Menu >> View >> Font”, however nothing is announced by VoiceOver. If you then try moving the table selection using arrow up and down, you will see that the newly selected row is announced properly.
I would appreciate any tips on how to get announcements of content change of the table’s selected row to work, or what to check/try.
Thanks,
Boris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden