Bug 159925 - A11Y sidebar: Check for hyperlink name
Summary: A11Y sidebar: Check for hyperlink name
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://www.w3.org/WAI/WCAG22/Techniq...
Whiteboard: target:25.2.0 target:24.8.0.0.beta2
Keywords: accessibility
Depends on: 159899
Blocks: Hyperlink Accessibility-Check
  Show dependency treegraph
 
Reported: 2024-02-27 11:40 UTC by Gabor Kelemen (allotropia)
Modified: 2024-07-22 09:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file with hyperlink without name (10.62 KB, application/vnd.oasis.opendocument.text)
2024-02-27 11:40 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-02-27 11:40:28 UTC
Created attachment 192823 [details]
Example file with hyperlink without name

This is related to the bug 159899

If a hyperlink does not have a Name attribute set, the Accessibility sidebar does not give a warning. Once the bug 159899 is fixed, it will make sense to warn about the missing human readable explanation text.

1. Open attached file
2. Open the Accessibility sidebar
-> No warning about the missing Name attribute

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74185b8edf7f046a3372319da86a1d8ca0024c87
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: default
Comment 1 Stéphane Guillou (stragu) 2024-03-13 04:16:52 UTC
Which accessibility requirement would this fulfil? And what does the property map to in PDF and HTML?

I've heard that the hyperlink text should have the role of that "human readable explanation" role - and we already have the "Hyperlink text is the same as the link address" warning in the Accessibility sidebar for that reason.
It would be another story if the warning was only for e.g. hyperlinked graphical elements that don't have the Name field filled.

Just worried about the accessibility sidebar becoming too busy, driving users away from it.
Comment 2 Gabor Kelemen (allotropia) 2024-06-25 08:24:49 UTC
This is broadly related to bug 159924 where this attribute was fixed to be exported to PDF.
If this is missing, I'm not getting a warning from the PAC tool (v2024), so in this sense, not strictly necessary.

However, with the note from bug 159924 that the latest version of Acrobat started to support displaying this attribute, this can be seen as something to improve the overall accessibility of PDF documents. So the user request we got is worth it.
Comment 3 Commit Notification 2024-06-27 15:08:41 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/5173341825ffb3f97462d2485c909e8fd45f8daa

tdf#159925 - A11Y sidebar: Check for missing hyperlink name

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Stéphane Guillou (stragu) 2024-06-27 15:15:57 UTC
OK, thanks for the explanation, Gabor!
Comment 5 Commit Notification 2024-07-01 14:55:07 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

https://git.libreoffice.org/core/commit/f14ca98bd3ca67dc0d9ab87459a006bca682399c

tdf#159925 - A11Y sidebar: Check for missing hyperlink name

It will be available in 24.8.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.