summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/accessibility
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-08-08 15:40:32 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-08-09 07:01:55 +0200
commit4c42b1c21192eb43648452254d172a1bdcc20cb3 (patch)
treed2e3eb41fd4f6de1c1f39a6f10c8f3ca9fd41f50 /offapi/com/sun/star/accessibility
parent95c014c30deef6321ae7bde77caecadb5e986acf (diff)
a11y: Clarify XAccessibleHyperlink doc
The API looks like it was modeled after IAccessible2's `IAccessibleHyperlink` [1]. The doc was saying > /** Returns an object that represents the link anchor, as appropriate > for that link. for both, `XAccessibleHyperlink::getAccessibleActionAnchor` and `XAccessibleHyperlink::getAccessibleActionObject`. However, `XAccessibleHyperlink::getAccessibleActionObject` can be used to get the link target, not the anchor, i.e. is the equivalent of `IAccessibleHyperlink::anchorTarget` while `XAccessibleHyperlink::getAccessibleActionAnchor` is the equivalent of ` IAccessibleHyperlink::anchor`. [1] https://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/interface_i_accessible_hyperlink.html Change-Id: I7e28ac648f698592afb031fcb433f385f902c6a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171635 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'offapi/com/sun/star/accessibility')
-rw-r--r--offapi/com/sun/star/accessibility/XAccessibleHyperlink.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/offapi/com/sun/star/accessibility/XAccessibleHyperlink.idl b/offapi/com/sun/star/accessibility/XAccessibleHyperlink.idl
index 8762a5d6ee59..cbfe3f406e16 100644
--- a/offapi/com/sun/star/accessibility/XAccessibleHyperlink.idl
+++ b/offapi/com/sun/star/accessibility/XAccessibleHyperlink.idl
@@ -62,7 +62,7 @@ interface XAccessibleHyperlink :
any getAccessibleActionAnchor ([in] long nIndex)
raises (::com::sun::star::lang::IndexOutOfBoundsException);
- /** Returns an object that represents the link anchor, as appropriate
+ /** Returns an object that represents the link target, as appropriate
for that link.
<p>For an HTML link for example, this method would return the URL of