WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Opens a simulated dialog

for

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

From: Kakarla Meharoon
Date: Wed, Aug 01 2018 7:03PM
Subject: Opens a simulated dialog
No previous message | Next message →

Hi

For the buttons is it necessary to give advance warning opens as a
simulated dialog these buttons will opens a dialog ?

Please find the below link

https://www.webaccessibility.com/best_practices.php?technology_platform_idG

"Developers must alert users *when a link is used* to open a simulated
dialog. When *links* do not indicate the purpose of opening a simulated
dialog, users of assistive technology may expect another action and may be
confused when that expected action does not occur. Text should be added *to
the link* alerting users that a simulated dialog will be opened when the
link is activated..."

(*emphasis* added)


https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html

*This official W3 example includes a button which does NOT warn of a
pending simulated dialog*


--
Sent from Gmail Mobile

From: glen walker
Date: Wed, Aug 01 2018 9:38PM
Subject: Re: Opens a simulated dialog
← Previous message | Next message →

The webaccessibility.com site is not an official w3 site nor a spec, even
if it's from a reputable company like Level Access and has great
information.

If a button does not indicate it will open a dialog, then from a strict
compliance perspective, it's not a WCAG failure. However, if the dialog
itself that pops up does not announce itself, then that would definitely be
a WCAG violation.

Should a button indicate it has a dialog? Sure, that would be great, but
indicating a dialog will popup would be great for *all* users, not just
screen reader users.

The new values of aria-haspopup
<https://www.w3.org/TR/wai-aria/#aria-haspopup> has a "dialog" value to do
exactly what you're asking about. Support for it might not be widespread
yet, but setting it would be a good idea. But again, that attribute only
helps screen reader users. It'd be nice if there was an indication for all
users.

Glen

From: Kakarla Meharoon
Date: Wed, Aug 01 2018 10:26PM
Subject: Re: Opens a simulated dialog
← Previous message | Next message →

please find below references


https://www.webaccessibility.com/best_practices.php?best_practice_idˆ7

*Ensure links that spawn dialogs indicate the fact*



"When a link (text link or image link) is used as the element that opens a
dialog, its link text must indicate this special action to Assistive
Technology users. Otherwise users would assume the link performs the
standard link action of navigating to another page and might be confused
when that standard action does not occur."



*"Note: When a button is used instead of a link to trigger a dialog, it is
not necessary to indicate the dialog action textually*. This includes
standard HTML button control types as well as the ARIA role of button."
*With best regards,*
*K.S.Meharoon*
*9700120786*

From: Kakarla Meharoon
Date: Thu, Aug 02 2018 5:01AM
Subject: Re: Opens a simulated dialog
← Previous message | Next message →

Thanks Geln for your inputs


I fully agree, it's good for all users to know if links will open in a new
window. But do you have any good examples of accessible web sites or web
applications where buttons (not links) have such visible text? Opens a
simulated dialog.

From: Jonathan Avila
Date: Thu, Aug 02 2018 11:53AM
Subject: Re: Opens a simulated dialog
← Previous message | No next message

Hi, that best practice indicates it is not required for buttons although it may be useful to some users. Specifically the best practice was created for situations such as when links are used where the user expects to be taken to a new page or somewhere else on the current page because a link rather than a button was used.

Jonathan

Jonathan Avila
Chief Accessibility Officer
Level Access
= EMAIL ADDRESS REMOVED =
703.637.8957 office

Visit us online:
Website | Twitter | Facebook | LinkedIn | Blog

Looking to boost your accessibility knowledge? Check out our free webinars!

The information contained in this transmission may be attorney privileged and/or confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited.