|
Gets the i'th object, (where i is an integer between 0 and Hyperlink::numAnchors - 1, inclusive) associated with a Hyperlink. The objects returned are usually actionable (i.e. they should implement Accessibility::Action), and the available actions often include "open", "bookmark", "save link as", etc. They may also implement Accessibility::StreamableContent, although clients can normally use getURI to obtain a resource locator via which the object's data may be accessed.
- Note:
-
the most common application for 'multi anchor' hyperlinks in HTML is probably "client side imagemaps". A clickable image which uses the HTML 'usemap' attribute should have one anchor for every <area> element that includes an HREF. The objects corresponding to these map areas may implement Accessibility::Component, to represent their onscreen bounding box, and may expose their 'shape' as as name-value pair via Accessibility::Accessible::getAttributeSet.
- Returns :
-
an Accessible object instance representing the Hyperlink's ith anchor, or through which the content associated with the
ith anchor can be accessed. |