Skip to content

Improve reading of alerts #248

@nvaccessAuto

Description

@nvaccessAuto

Reported by jteh on 2008-12-04 12:41
When an IAccessible alert event is fired, NVDA simply speaks the object and all its descendants. For Mozilla, this means that text can be read multiple times because of Gecko's text leaf nodes. Also, the role of all of the textual content will be read, which is not ideal.

Because alerts already use the IAccessible Dialog NVDAObject, the dialog text (retrieved by getDialogText) is alredy contained in the description property. Therefore, the alert event simply needs to:

  1. Speak the alert object, which will include its dialog text.
  2. Speak all focusable children. This will include all actions available to the user and is necessary because alerts do not receive focus.
    Blocking Inconsistent behavior with ARIA roles of Dialog and AlertDialog #160

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions