Closed Bug 733755 Opened 12 years ago Closed 6 years ago

In the temperatures canvas example, the Thursday and Friday fields don't update, do update visually

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MarcoZ, Unassigned)

References

()

Details

STR:
1. Open the test case from bug 495912:
https://bug495912.bugzilla.mozilla.org/attachment.cgi?id=409248

2. With NVDA running, focus on the Wednesday, 22 Degrees C, and press Enter.
Note that you have to use this line, as this is the only that currently executes the click action. It appears that there's another bug where clicking the Thursday and Friday, and the actual "Click here..." lines does not work.

Actual: The entry for Wednesday changes from 22 Degrees C to 72 Degrees F.
The Thursday and Friday fields remain on Celsius values.

Expected: The Thursday and Friday fields should also change to Fahrenheit, as this is what happens visually.

Note that this info is not updated in the accessibility tree, so it is NOT a matter of NVDA's virtual buffer simply not updating.
Is the bug in the test case or in our code?
I see the testcase JS changing all divs, not just the first one.
Still a problem nowadays. Does anyone still care? Jamie, what should we do?
Flags: needinfo?(jteh)
It's not a Firefox bug. There's a bug in the test case:

  var newdiv1=document.getElementById('w');
  var newdiv3=document.getElementById('t');
  var newdiv3=document.getElementById('f');

Notice the typo in the second line: newdiv3 instead of newdiv2. That causes a JS error later when we refer to newdiv2:

ReferenceError: newdiv2 is not defined

which causes execution to halt.

If you correct the typo, it all works as expected.

Closing as worksforme.
Flags: needinfo?(jteh)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.