Skip to content

Browse mode cursor placed incorrectly despite focus when leaving dialog which hides outside content #3145

@nvaccessAuto

Description

@nvaccessAuto

Reported by detlev on 2013-04-10 07:47
In this custom dialog example

http://3needs.org/en/testing/code/role-dialog-3.html

a link with role button ("Display a dialog") displays a custom dialog (a hidden div at the start of the page source code).

The page background (the rest of the page) is hidden by setting the dive that encloses it to aria-hidden=true. (This happend to improve focus handling in iOS/VoiceOver).

Closing the dialog sets aria-hidden to false and then restores the focus. This however is not understood by NVDA - the focus moves insteasd to the start of the page. The example works fine in OSX / VoiceOver and JAWS.

Apparently, there is a delay in NVDA when setting aria-hidden=false since the resoration of focus in the next line of script fails (possibly because NVDA does not 'see' the background which contains the button that should be focused on closing the dialog).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions