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

Issue 730714 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug
Team-Accessibility



Sign in to add a comment

Focus events come in the wrong order when using Docs spelling dialog

Project Member Reported by nek...@chromium.org, Jun 7 2017

Issue description

Activate Jaws 18 and Chrome 60+.
Create a Google doc with a few misspelled words.
Activate the spell checker.
Activate the Change button to replace a word.
When the suggestion for the next word is shown, use Insert+Up (or CapsLock+Up if in laptop layout) to read the current line.
Actual result:
Notice that the current line that is being read is the line in the document where the misspelling is present.
Expected result:
The line that is being read should be the suggested word in the spelling dialog.

Cause:
Two focus events are raised by Chrome + Docs.
One tells Jaws to focus the line in the document where the misspelling is present and the second to focus the suggestion back in the spelling dialog.
The events come in the wrong order. Focusing the document to read the misspelling in context might be fine, if right after that the suggestion was focused.
However, it seems that the event for focusing the document comes after the event for focusing the dialog.

 
created the counter part: b/62478026
Labels: triage-lpalmaro
Cc: nek...@chromium.org
Labels: -triage-lpalmaro
Owner: ----
Status: WontFix (was: Available)
I did some debugging today and it seems the bug doesn't reproduce any more.
I monitored the focus, blur and other events for the document content editable and the spelling suggestion input using the following commands in Chrome Dev Tools:
monitorEvents($("#docs-spellcheckslidingdialog-replacement-input"), "control");
monitorEvents($(".docs-texteventtarget-iframe"), "control");

Steps:
I typed a document with two spelling mistakes. I opened the spelling dialog and at the first suggestion I pressed "Change". I waited for the second misspelling to be identified and pressed JawsKey+Up. The suggestion was read as expected.
In the console, I only got a blur event from the document which is a bit strange because I was also expecting a focus event from the spelling suggestion input.

Sign in to add a comment