Issue 124363 - Writer: Spelling errors not exposed semantically via accessibility APIs
Summary: Writer: Spelling errors not exposed semantically via accessibility APIs
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: accessibility (show other issues)
Version: 4.1.0-dev
Hardware: All All
: P3 Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: accessibility
Depends on:
Blocks: winA11y
  Show dependency tree
 
Reported: 2014-03-06 03:03 UTC by James Teh
Modified: 2014-03-11 07:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description James Teh 2014-03-06 03:03:45 UTC
Str:
1. Open a new document in Writer.
2. Ensure Writer is set up to do spell checking for English.
3. Type "My tset" (intentional typo, without quotes) and press space.
4. Obtain the accessible for the paragraph just entered.
5. Retrieve the text attributes for offset 3.
Expected: There should be an "invalid" attribute with a value of "spelling" ("invalid:spelling").
Actual: There is no "invalid" attribute. You can determine that there is a spelling error because the CharUnderline attribute has a value of 10 (the WAVE underline type).

This isn't a major issue because ATs *can* determine that there is a spelling error. However, this is obscure at best. Ideally, this should be exposed semantically, rather than relying on the way it is displayed.
Comment 1 Steve Yin 2014-03-11 07:45:39 UTC
Confirmed. In Symphony, I used UNDERLINE_WAVE (CharUnderline 10) & 0x00FF0000 (CharUnderlineColor) to mark spelling errors. This is not a good way to expose the information to the ATs. I will modify it to use the standard way. Thanks.

(In reply to James Teh from comment #0)
> Str:
> 1. Open a new document in Writer.
> 2. Ensure Writer is set up to do spell checking for English.
> 3. Type "My tset" (intentional typo, without quotes) and press space.
> 4. Obtain the accessible for the paragraph just entered.
> 5. Retrieve the text attributes for offset 3.
> Expected: There should be an "invalid" attribute with a value of "spelling"
> ("invalid:spelling").
> Actual: There is no "invalid" attribute. You can determine that there is a
> spelling error because the CharUnderline attribute has a value of 10 (the
> WAVE underline type).
> 
> This isn't a major issue because ATs *can* determine that there is a
> spelling error. However, this is obscure at best. Ideally, this should be
> exposed semantically, rather than relying on the way it is displayed.