There's a bit of a typo in the new comment, because IAHyperlink derives 
from IAAction and not the other way around.
So the text should probably be:

"... i.e. that IAHyperlink should not derive from IAAction and
there should instead be IAHyperlink::nAnchors. So this would require an
additional method, not just the removal of the derivation from IAAction."

Carolyn



From:
Pete Brunet <[email protected]>
To:
IA2 List <[email protected]>
Date:
02/20/2009 12:35 PM
Subject:
[Accessibility-ia2] IAAction, IAHyperlink



The following two paragraphs are part of the description for IAHyperlink:

An interesting use case is an image map where each area is associated
with multiple actions, e.g. an image map of smart tags. In this case you
would have to implement two levels of accessible hyperlinks. The first
level hyperlinks would only implement anchor and anchorTarget. The
anchors would all reference the image object. The anchorTargets would
reference the second level accessible hyperlink objects. None of the
IAccessibleAction methods would be implemented on the first level
hyperlink objects. The second level hyperlink objects would implement
the IAccessibleAction methods. Their anchors would also reference the
image object and their anchorTargets would reference URLs or the objects
that would be activated.

This use case demonstrates that in some cases there is no need for
IAccessibleHyperlink to derive from IAccessibleAction. As a result it
may be removed in a later version of the IDL and it is suggested that
implementations should not rely on the inheritance.

I should update this to take into consideration an offline comment from
Jamie:

My argument was that hyperlink anchors and actions are different
concepts. Treating them as the same infers that a hyperlink can only
have one action per anchor. I was arguing that they should be treated
differently; i.e. that IAAction should not derive from IAHyperlink and
there should instead be IAHyperlink::nAnchors. So this would require an
additional method, not just the removal of the derivation from 
IAHyperlink.



_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2


_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to