Closed Bug 671499 Opened 13 years ago Closed 10 years ago

Word offsets broken for embedded objects

Categories

(Core :: Disability Access APIs, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Jamie, Unassigned)

References

(Blocks 1 open bug)

Details

Str:
1. Retrieve the paragraph accessible created for the following HTML:
<p>a<a href="#">b</a>c</p>
2. Call IAccessibleText::textAtOffset(0, IA2_TEXT_BOUNDARY_WORD)
Result (correct): The offsets returned are (0, 3); i.e. the word spans "abc".
3. Call IAccessibleText::textAtOffset(1, IA2_TEXT_BOUNDARY_WORD)
Expected: The offsets returned should be (0, 3).
Actual: The offsets returned are (2, 3).

This badly breaks reading by word with NVDA's support for Mozilla rich text editing (currently in development).
Working as expected for me in Firefox 33.0a1 (2014-07-10). Not sure what bug fixed it, though.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.