WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Pop-up dismiss question

for

From: Don Mauck
Date: Dec 5, 2013 10:15AM


Escape and control+w are accepted and fine. While it can never be assumed that the user will just know that escape will work, we have chosen to put an OK button as well as a message at the bottom of the popup stating that escape will close the popup. I'm not sure about devices other than a keyboard, maybe the OK button is a way to resolve that.
-----Original Message-----
From: Hewitt,Susan (DSHS) [mailto: <EMAIL REMOVED> ]
Sent: Thursday, December 05, 2013 7:57 AM
To: <EMAIL REMOVED>
Subject: [WebAIM] Pop-up dismiss question

I need some input on interpreting this standard in regards to pop-ups:

"WCAG 2.0 A - 2.1.2 No Keyboard Trap: If keyboard focus can be moved to a component of the page using a keyboard interface, then focus can be moved away from that component using only a keyboard interface, and, if it requires more than unmodified arrow or tab keys or other standard exit methods, the user is advised of the method for moving focus away. (Level A)"

What constitutes "other standard exit methods"? If there is not an explicit (accessible) method in the box such as a "x to close" or buttons allowing the user to close the window, would keystrokes such as ctrl-w or esc be acceptable? If so, we're assuming all users know a shortcut for dismissing windows. What about users with AT devices other than keyboards?

Thanks,

Susan Hewitt
EIR Accessibility Coordinator
Texas Department of State Health Services <EMAIL REMOVED> <mailto: <EMAIL REMOVED> > | 512-776-2913