Issue 106943 - ODF, support for office:title on hyperlinks
Summary: ODF, support for office:title on hyperlinks
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.2 Beta 1
Hardware: PC Windows 7
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-11-16 11:37 UTC by barthanssens
Modified: 2014-03-06 12:10 UTC (History)
4 users (show)

See Also:
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description barthanssens 2009-11-16 11:37:26 UTC
Menu Insert > Hyperlink

Apparently the UI only has a text field for entering a value for the office:name
attribute, but not for office:title attribute (the office:title is useful for
accessibility purposes), so it would be nice if an extra field could be added.

This is not to be confused with the current "text" field, that allows one to
edit the content of the text:a element, but does not set the office:title attribute
Comment 1 Olaf Felka 2009-11-17 07:00:59 UTC
@ es: Please have a look.
Comment 2 Christophe Strobbe 2013-08-07 15:38:54 UTC
This enhancement request is still valid for OpenOffice 4.0. 

Section 19.383 in the ODF 1.2 spec, part 1 indeed says: "The office:title attribute specifies a short accessible description." 
Appendix D.2. "Hyperlink Titles" adds: 
"(...) 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.
The title text should be made accessible to the assistive technology and user. The user agent should allow for programmatic access through standard accessibility APIs such as the accessible description. Users should experience visible access to the hint text via the keyboard or mouse."

Note that it is much more important to provide a human-readable link text, i.e. the text of the link should be something like the title of the target document rather than the URL itself. The link text is displayed in the "Text" field in the hyperlink dialog. 
The importance of office:title for links is debatable. In HTML, this corresponds to the title attribute on the a element, which is visible on hover, but not accessible for keyboard users (sighted or blind). Screen readers do not read the title attribute on links by default, AFAIK. Supporting office:title enables better import and export of HTML, more than anything else.

Note: I renamed the bug from "... support for office:text ..." to "... support for office:title ...", since that seemed to be the intent.
Comment 3 Edwin Sharp 2014-03-06 12:10:29 UTC
Confirmed with
AOO410m14(Build:9760)  -  Rev. 1573601
2014-03-03 17:47:48 (Mo, 03 Mrz 2014)
Win 7