New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 723828 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 7
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-05-17
OS: ----
Pri: 3
Type: Bug
Team-Accessibility

Blocking:
issue 719651



Sign in to add a comment

Broken rich text character movement

Project Member Reported by dtseng@chromium.org, May 17 2017

Issue description


Reproduction steps:
- turn on ChromeVox
- in ChromeVox's background page, eval:
editing.useRichText = true
- load
<div contenteditable>This <b>is</b> a test.</div>

result:
Character movement is broken.

The following is output of the accessibility tree as one presses right arrow in the format:
anchorObject.name@anchorOffset-focusObject.name-focusOffset
All nodes are static text.

log: Speak (I) "T"
"This @0-This @0"
log: Speak (I) "h"
"This @1-This @1"
log: Speak (I) "i"
"This @2-This @2"
log: Speak (I) "s"
"This @3-This @3"
log: Speak (I) " "
"This @4-This @4"

<<<<< broken
"This @5-This @5"
log: Speak (I) category=nav "This "
log: Speak (Q) category=nav "is"
log: Speak (Q) category=nav " a test."

"is@1-is@1"
"is@2-is@2"
log: Speak (I) category=nav "This "
log: Speak (Q) category=nav "is"
log: Speak (Q) category=nav " a test."
" a test.@1- a test.@1"
log: Speak (I) " "
" a test.@2- a test.@2"
log: Speak (I) "t"
" a test.@3- a test.@3"
log: Speak (I) "e"
...
>>>


Expectations
When moving from the last space in 'This ', we end up somehow at index 5 of "This ", which is technically wrong. We should be at index 0 of "is".

 

Comment 1 by dtseng@chromium.org, May 17 2017

In ChromeVox, we can hack it so we interpret invalid indicies as "meaning" go forward to the next or previous) valid character which I'm guessing is maybe what's happening in Windows, if this snippet actually works there.

Examples like this should be fixed in Blink.

Comment 2 by dtseng@chromium.org, Jun 28 2017

Blocking: 719651
Project Member

Comment 3 by sheriffbot@chromium.org, Jun 29 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: dtseng@chromium.org
Status: Available (was: Untriaged)
Ping? Is this still an issue?
Status: Fixed (was: Available)
I fixed part sof this a while ago. Closing in favor of more updated and actionable bugs.

Sign in to add a comment