Issue 117206 - ACC: A hyperlink in writer document doesn't expose correct role and URL to AT-SPI.
Summary: ACC: A hyperlink in writer document doesn't expose correct role and URL to AT...
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.2.1
Hardware: PC Linux, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: accessibility, needhelp
Depends on:
Blocks:
 
Reported: 2011-03-04 10:31 UTC by bhatdv
Modified: 2014-03-05 15:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Accerciser screen-shot: hyperlink exposes ROLE_PARAGRAPH, and no URL to AT-SPI. (185.17 KB, image/png)
2011-03-04 10:31 UTC, bhatdv
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bhatdv 2011-03-04 10:31:26 UTC
Created attachment 75996 [details]
Accerciser screen-shot: hyperlink exposes ROLE_PARAGRAPH, and no URL to AT-SPI.

A hyperlink in OOo writer document doesn't expose the correct role and URL to AT-SPI. It exposes ROLE_PARAGRAPH and no URL. If it would expose the correct role (ROLE_LINK or some other appropriate role) and the URL, assistive tools like a screen reader can use the information to improve accessibility of the document.

Steps to reproduce:
1. Start OOo writer. Create a new text document. Add a hyperlink with text 'Open Office Issue Tracker', targeted to 'http://openoffice.org/bugzilla/'. Save the document.

2. Start Accerciser accessibility explorer.

3. Go to the accessible tree view at top left. As shown in attached
screen-shot, select the accessible object corresponding to the hyperlink just
created. The Role column shows 'paragraph'.

4. In the plug-in view at top right, select Interface Viewer. The first line
shows the role as 'paragraph'. The table under Hypertext shows the start and end offsets for the hyperlink text, but no URI.

5. Go to the IPythonConsole at bottom.
   acc.queryText().getText(0,24) returns text 'OpenOffice Issue Tracker'.
   acc.getRole() returns ROLE_PARAGRAPH.
   acc.queryHypertext().getNLinks() returns 1, indicating one link.
   acc.queryHypertext().getLink(0) returns a Hyperlink object.
   acc.queryHypertext().getLink(0).nAnchors returns 1, indicating one anchor.
   acc.queryHypertext().getLink(0).getURI(0) returns '', not the URL.
Comment 1 michael.ruess 2011-03-04 11:27:53 UTC
ES, please have a look.
Comment 2 Oliver-Rainer Wittmann 2012-06-13 12:24:46 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.