WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Dialog (Modal) Pattern. A question of modality and focus management

for

Number of posts in this thread: 3 (In chronological order)

From: Laurence Lewis
Date: Thu, Feb 08 2024 2:24PM
Subject: Dialog (Modal) Pattern. A question of modality and focus management
No previous message | Next message →

Hello

I am seeking guidance to understand the tab ring behaviour for non-modal
dialogs that use aria-modal false. This is specifically in reference to the
ARIA Practices Guide for Dialog (Modal)
<https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/#:~:text=Like%20non-modal,closing%20the%20dialog.>
.

*"Like non-modal dialogs, modal dialogs contain their tab sequence. That
is, Tab and Shift + Tab do not move focus outside the dialog. However,
unlike most non-modal dialogs, modal dialogs do not provide means for
moving keyboard focus outside the dialog window without closing the
dialog."*

If I remove the references to *modal* I get

'*non-modal dialogs **contain their tab sequence and **do not move focus
outside the dialog. P**rovide a means for moving keyboard focus outside the
dialog window without closing the dialog.'*


- For a non-modal dialog, for example an information sheet, that is
non-critical, how should this work?
- What recommended practices are there for the keyboard user to interact
with the main screen without dismissing the modal? Would being able to
minimise the dialog be an accepted means to enable access to the main page
content?
- Would a button that the user can click to move to the main page
content be sufficient?
- What is the recommendation for focus management when the user is
focused on the main content, and how do they return to the dialog?
- Is the only way to access the dialog content clicking the triggering
button?

I have these questions swirling around in my head and seek clarity in what
recommendations to make in regard to accessibility for a non-modal dialog
for focus management and expected behaviour.


Thanks in advance.


Laurence Lewis
Accessibility Senior Specialist- Telstra

From: Patrick H. Lauke
Date: Thu, Feb 08 2024 2:32PM
Subject: Re: Dialog (Modal) Pattern. A question of modality and focus management
← Previous message | Next message →

Maybe *one day* we'll get an actual definitive answer/example in
APG...it's only been, like, 6 years so far...

https://github.com/w3c/aria-practices/issues/599

P
--
Patrick H. Lauke

* https://www.splintered.co.uk/
* https://github.com/patrickhlauke
* https://flickr.com/photos/redux/
* https://mastodon.social/@patrick_h_lauke

From: Laurence Lewis
Date: Fri, Feb 09 2024 3:35PM
Subject: Re: Dialog (Modal) Pattern. A question of modality and focus management
← Previous message | No next message

Thanks for the link Patrick. I have also raised as an issue in the aria
practices repro. Strangely issue #599 did not ‘jump out’ at me when I did a
search before submitting. I have added a link in
#2924 to #599. 2924 is the issue I recently raised for the same issue.