offapi/com/sun/star/accessibility/XAccessibleHyperlink.idl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4c42b1c21192eb43648452254d172a1bdcc20cb3
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Thu Aug 8 15:40:32 2024 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Fri Aug 9 07:01:55 2024 +0200

    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.wegh...@posteo.de>
    Tested-by: Jenkins

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

Reply via email to