New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSHTML: Buffer not updated immediately when focus changes #5040

Closed
nvaccessAuto opened this Issue Apr 16, 2015 · 3 comments

Comments

Projects
None yet
1 participant
@nvaccessAuto

nvaccessAuto commented Apr 16, 2015

Reported by jteh on 2015-04-16 06:51
In MSHTML, if hidden content is shown and then immediately focused, we don't force an immediate update. This means that in browse mode, the content might not yet be present, causing incorrect reporting.

Str:

  1. Open the attached test case in IE. Ensure Javascript isn't blocked.
  2. Ensure you are in browse mode.
  3. Press the button.
  • Expected: NVDA should say: "This will get focus."
  • Actual: NVDA says: "blank"

We fixed this for Gecko in 6f04af1, but never did it for MSHTML.

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Apr 16, 2015

Attachment showFocus.html added by jteh on 2015-04-16 06:52
Description:
Test case.

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jun 19, 2015

Comment 1 by Michael Curran <mick@... on 2015-06-19 20:01
In [5cfc707]:

Merge branch 't5040' into next. Incubates #5040

Changes:
Added labels: incubating

@nvaccessAuto

This comment has been minimized.

nvaccessAuto commented Jul 10, 2015

Comment 2 by James Teh <jamie@... on 2015-07-10 05:26
In [85bd3c4]:

In browse mode in Internet Explorer and other MSHTML controls, the correct content is now reported when an element appears or changes and is immediately focused.

MSHTML vbufBackend: force an instant update of the content  for onfocus events in case the focus moves to something that was newly created/changed.
Fixes #5040.

Changes:
Removed labels: incubating
State: closed

@nvaccessAuto nvaccessAuto added this to the 2015.3 milestone Nov 10, 2015

jcsteh added a commit that referenced this issue Nov 23, 2015

In browse mode in Internet Explorer and other MSHTML controls, the co…
…rrect content is now reported when an element appears or changes and is immediately focused.

MSHTML vbufBackend: force an instant update of the content  for onfocus events in case the focus moves to something that was newly created/changed.
Fixes #5040.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment