[Sigia-l] "close window" links in pop-ups

Cho, Jason JCho at icmarc.org
Wed Jun 23 15:02:48 EDT 2004


Karl Groves wrote:
>How can a "close window" link *increase* accessibility when it relies 
>on the user-agent supporting client-side scripting to operate?

We used to write out the "close window" links inside <script>. The link
to the popup used an onClick handler which would attempt to load the
target in a popup; if that failed, the target would display in the main
window. Since no popups used to mean no Javascript, we could assume the
browser would ignore the target's <script>, suppressing the potentially
dangerous/confusing "close window" link when it appeared in the main
window.

Unfortunately, in the age of popup blockers, one can have popups off but
Javascript on, introducing the case where the close window link does
indeed display in the main window. We haven't resolved the issue.

-Jason Cho



More information about the Sigia-l mailing list