https://bugs.documentfoundation.org/show_bug.cgi?id=140617

Christophe Strobbe <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from Christophe Strobbe <[email protected]> ---
As Buovjaga pointed out in Comment 5, this is an issue of PDF/UA compliance.
(And Bug 148934 is related to this.)
The relevant requirement in ISO 14289-1 (the PDF/UA specification) is section
7.18.5, which says,

"Links shall contain an alternate description via their Contents key as
described in ISO 32000-1:2008, 14.9.3."

Appendix D.2 Hyperlink Titles in ODF 1.3 Part 3 says,

"When transforming from another document format to OpenDocument the alt text of
hyperlinks, shall be mapped to the office:title attribute of <text:a> 6.1.8
elements or <draw:a> 10.4.12 elements. When exporting OpenDocument documents to
HTML, the contents of title text should be mapped to title attribute text on
HTML anchor tags. As a minimum, authoring tools should provide a mechanism to
provide the hint text."

See also subchapter 19.387 office:title, in the ODF spec:

"The office:title attribute specifies a short accessible description."

Note that the LibreOffice UI currently has no mechanism to set a Hyperlink's
alt text or what the ODF spec calls the "hint text". The Hyperlink dialog has a
Name field, but that maps to the attribute office:name of the text:a element.
"office:name" serves as a target for other hyperlinks, so it is not the right
mechanism for the hint text.

The goal of implementing this would be to come closer to PDF/UA compliance.
Creating PDF/UA-compliant documents is currently almost impossible without
expensive additional tools (e.g. Adobe Acrobat Pro, the Axes4 plugins for MS
Office or the CommonLook plugins for MS Office), none of which are available
for Linux.

One way to do this is to add a "Text alternative" field to this Hyperlink
dialog which is automatically filled in with the actual link text. This would
help both authors who don't know much about accessibility and those who would
want to define a different alt text. The Accessibility Checker should check
that links have a text alternative that is not simply a full URL.

Sidenote: The Hyperlink or Link dialog in Microsoft Word 2016 has a
"Tooltip..." button ("QuickInfo..." in the German version) that allows the
author to define a tooltip, but this is ignored when the DOCX file is exported
to PDF. (It is not obvious whether that mapping would even be correct, but it's
all MS Word has to offer in this regard.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to