Opened 4 years ago

Closed 3 years ago

#717 closed defect (worksforme)

ARIA alert role read inconsistently

Reported by: kennpetri Owned by: mdcurran
Priority: minor Milestone: near-term
Component: Core Version: 2010.1
Keywords: aria, role, alert Cc:
Operating system: Windows 7 Blocked by:
Blocking:
Changes document entry (for developers):

Description

An element with ARIA role of alert is typically voiced any time the element's content is updated. However, there seems to be a bug in certain cases.

All testing done with Firefox 3.6.3 on Windows 7. Tested against both NVDA 2010.1 and main-3573

Two examples:

  1. A form that updates an element with role of alert:

http://newmedia.osu.edu/projects/idm-site/examples/form-securityQuestions.php

On this form you must fill in some response to 5 of the 20 questions before you can click the submit button. Every time you fill in a field and the field is blurred, the message area (with role of alert) is updated.

NVDA will announce all updates except for the final one. It is unclear why it does not announce the final update.

  1. The popular, ARIA-aware Dojo Toolkit Tooltip Widget/Dijit:

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Tooltip.html

Only occasionally does NVDA announce the tooltip text. (By contrast, JAWS 11 in FF consistently announces it.)

Change History (4)

comment:1 Changed 4 years ago by jteh

  • Milestone set to 2010.3
  • Priority changed from major to minor

comment:2 Changed 4 years ago by mdcurran

  • Owner set to mdcurran
  • Status changed from new to assigned

comment:3 Changed 4 years ago by mdcurran

  • Milestone changed from 2011.1 to near-term

Testcase 1:
As I fill in each field and press tab, I hear the alert telling me how many questions I have left.
However, I don't actually hear the next field at all due to the laert canceling the speech for that field... but this is an NVDA bug which we will fix in future.
As I fill in the form, I hear the alerts for 4 more questions, 3 more questions, 2 more questions and 1 more question. However the next field I fill in and press tab I hear nothing. But, if I fill in another field and tab again, I hear form completed successfully.
Strangely though the time I don't hear anything, if I manually review the virtualBuffer, I do see the text "the form completed successfully" but it seems as though the alert event itself doesn't actually fire for one more tab press.
I really think this is a problem with either the testcase or the browser itself, as NVDA has no way of delaying alert events like that.

Testcase 2:
Please provide more info on exactly how to use that testcase. It seems a little complex and there are multiple tests on the one page.
Plus, could you if possible please provide a description of how this tooltip widget actually works. Is it an alert? is it a live region? Where exactly does it appear in the DOM?
Could you perhaps provide a very simple example... say a document with just two focusable nodes and no other content, and focusing the second node causes the tooltip to appear? this would be very useful for further testing.

comment:4 Changed 3 years ago by mdcurran

  • Resolution set to worksforme
  • Status changed from assigned to closed

Testcase 1 works with Firefox 4.
Testcase 2: the link is now broken (error 404) and the reporter has not answered my last question from 6 months ago. Closing as works for me. Please reopen if more info can be provided on the second testcase.

Note: See TracTickets for help on using tickets.