WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: creating custom dialogs in a device independent way

for

From: Jared Smith
Date: May 27, 2010 10:30AM


The published WCAG techniques are not the only ways you can achieve
conformance. You're always welcome to use your own techniques so long
as they result in meeting the success criteria.

In this case, the newly revealed <div> could be located elsewhere in
the page. Focus would be set to it using scripting *after* it is
unhidden. If this new dialog is closed (via ESC key and a close
link/button), focus must be set back to the originating link.

In many ways I prefer this technique over the SCR37 technique because
initiating the dialog results in a change of context (via focus).
Without this change, the link will seeming not do anything, possibly
resulting in confusion.

Jared Smith
WebAIM