- From: Alexander Surkov <surkov.alexander@gmail.com>
- Date: Sat, 7 Apr 2012 14:50:15 +0900
- To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Cc: wai-xtech@w3.org
H, Leif. I considered it in MSAA/IA2 terms. In MSAA/IA2 you have roles and actions. <a role=link href><img alt="Lorem ipsum."></a> role of html:a is link, action is "jump" role of img accessible is image, action is "jump" (inherited from html:a accessible) <a role=img href> role is html:a accessbile is image, action is "jump" since it's a still link after all. I think NSAccessibility protocol (OS X accessibility API) have concepts of roles and actions too. In these cases I assume VoiceOver announces name and role of html:a accessible (and don't go into html:a tree), html:a accessible gets a name from underlying img accessible. Also it should provide a way to invoke the action. Thanks. Alex. On Sat, Apr 7, 2012 at 1:41 AM, Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> wrote: > Alexander Surkov, Fri, 6 Apr 2012 13:06:55 +0900: >> <a role="img" href="">img link</a> or even <a href=""><img></a> are >> exposed with "jump" as primary accessible action. Longdesc or >> aria-describedat is exposed as secondary accessible action which is as >> I understand sort of URL to image description and not a link. > > Hi! I'm not sure I understand what you mean by "jump". But I agree that > a link is a "primary" option, while a longdesc/aria-describedAT offers > a secondary option. > > However, I would describe this as a role hierarchy: In the case of the > micro format <a role=link href><img alt="Lorem ipsum."></a>, the > primary option of is associated with the role of the outer element - > the link. And, for instance VoiceOver, will present the above micro > format like so: "Lorem ipsum. Link.". > > Whereas in the micro format <a role=img href><img alt="Lorem > ipsum."></a>, VoiceOver will say: "Lorem Ipsum. Image.". In this case, > the "primary option" is to consume the <img> as an image. While the > secondary option is to activate the link. > > And so, the goal with <a role=img> or <a role=desclink> is to make sure > the link is *not* presented as the primary role/option. > > Do you get me? Or are we talking past each others with regard to > primary/secondary and "jump"? > -- > Leif H Silli
Received on Saturday, 7 April 2012 05:50:44 UTC