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
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.
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.
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.
OK, thanks for the explanation, Gabor!
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.