Re: Announce tab names when switching them (a la Safari) - how? (OS X)
Re: Announce tab names when switching them (a la Safari) - how? (OS X)
- Subject: Re: Announce tab names when switching them (a la Safari) - how? (OS X)
- From: Boris DuĊĦek <email@hidden>
- Date: Sun, 31 Mar 2013 23:50:32 +0200
> in Safari on OS X, when a VO user is interacting with the AXWebArea and presses Cmd+{ and Cmd+} to switch tabs, first the new tab title is announced and only then is the current element in AXWebArea with new content described.
>
> I want to implement the same behavior in a text editor with one AXTextArea and an AXTabGroup with its children being AXRadioButtons, but that alone does not yield the behavior and I couldn't "decipher" how it's done in Safari itself - Accessibility Inspector did not reveal any "link" between the AXWebArea and AXTabGroup (I e.g. expected something like the AXTabGroup being AXTitleUIElement of the AXWebArea, but that was not the case), so I have no idea why VO announces tab names.
>
> Only possibilities I thought of is some kind of explicit textual notification being sent by Safari when switching tabs, or that VO announces window title changes (which seems to be the same as current tab bar title).
>
> So how does one achieve such behavior of first announcing tab titles when switching them with keyboard shortcuts?
seems like ensuring that AXValueChanged is posted in the AXTabGroup did it (as in https://github.com/textmate/textmate/pull/930)
_______________________________________________
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