Community
Participate
Working Groups
I need to enable the F1 infopops for being readable by JAWS, and currently one cannot read the "hyperlinks" in the infopop without tabbing to each one of them. To enable the above I need to have STATE_SYSTEM_LINKED mapped to one of the states in ACC.
Moving to Chris since he's currently living in win32 land.
Taking ownership.
Fixed > 20040429. We added 2 new constants to ACC: 1) ROLE_LINK 2) STATE_LINKED According to the MSAA documentation: ROLE_SYSTEM_LINK The object represents a link to something else. This object might look like text or a graphic, but it acts like a button. STATE_SYSTEM_LINKED Indicates that the object is formatted as a hyperlink. The object role will usually be ROLE_SYSTEM_TEXT. It's not very clear from the documentation what you would want to implement. So I have looked at a bunch of web pages in IE using the MSAA inspector to see what they do, and here's what (I think) you want to do to be consistent... Looking (very quickly) at your HyperlinkLabel class, I see you have a Canvas with a Label child. I think you want the Canvas to have ROLE_LINK, and the Label to have ROLE_TEXT. For the states, the Canvas should have STATE_FOCUSABLE | STATE_LINKED (and | STATE_FOCUSED if it has focus) and the Label should have STATE_READONLY | STATE_FOCUSABLE | STATE_SELECTABLE | STATE_LINKED (and | STATE_FOCUSED if the Canvas has focus). Hope this helps.
Thanks Carolyn. I used the roles you suggested and F1 links are read by Windows narrator.
You're welcome. I'm glad you had a chance to use them before M9.