FLUID-3884: NVDA feedback after editing a text area is the url to the page on IE8

Metadata

Source
FLUID-3884
Type
Bug
Priority
Major
Status
Closed
Resolution
Escalated
Assignee
Harris Wong
Reporter
heidi valles
Created
2010-12-08T16:52:13.312-0500
Updated
2011-02-09T16:42:30.120-0500
Versions
  1. 1.3
Fixed Versions
  1. 1.3.1
Component
  1. Inline Edit

Description

After editing text, the url to the page is read. Perhaps because focus was on a now hidden input?

Environments

win xp, IE8, nvda

Comments

  • Jonathan Hung commented 2011-01-04T13:09:33.582-0500

    A similar issue exists where when focus is placed on the rich text inline edit field, NVDA reads "Link" and then the URL of the page.

  • Harris Wong commented 2011-01-25T11:04:39.416-0500

    I cannot reproduce this on my IE8, Win XP SP3.

    However, I can reproduce this on my IE8 with Compatibility mode, or the IE7 mode by IE's DebugBar plugin.

  • Harris Wong commented 2011-01-25T11:12:14.737-0500

    I have reproduce this on IE8 now. It sometimes do read the button text instead of the URL.

  • Harris Wong commented 2011-01-27T10:20:20.035-0500

    In InlineEdit.js line 125 (or line 111), when that.textEditButton.focus(0) is called, NVDA on IE8 would return "button <http://******>" instead of "Edit Text *** button". It seems as though the focus on the button was not found on IE8. Looking at the function "finish", at line 80; switchToViewMode() switches the view to visible again before calling focus. If I add a time delay between line 124 and 125, then NVDA seems to report the button fine.

  • Harris Wong commented 2011-01-27T11:05:19.753-0500

    suggested solution #1: call focus through listener instead of running it directly after finish(that) on line 125.
    suggested solution #2: Set a delay for IE8. setTimeout(function(){that.textEditButton.focus(0);}), 150); on line 125.

    Update: tried solution #1, added that.textEditButton.focus(0) in afterFinishEdit.addListener(), didn't work.

  • Harris Wong commented 2011-02-03T11:55:12.385-0500

    Not only after editing, it happens after you press escape as well.

  • Harris Wong commented 2011-02-03T11:58:29.282-0500

    The problem cannot be reproduced with the newest NVDA 2011.1 Beta1.

    System:
    WinXP SP3, IE8

  • Colin Clark commented 2011-02-09T16:42:30.044-0500

    This appears to be a bug in NVDA, which Harris has noted is fixed in the latest version.