473,804 Members | 3,526 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Popups, web applications, accessibility

Can you help me figure out what to do about popups?

Sometimes we develop web applications where popups make very good sense for
precisely the same reasons they make sense in traditional locally-installed
application interfaces. I understand some people object, on grounds having
nothing to do with disabilities, to links that generate new browser windows.
I don't know what the basis of their objection is, but I wonder whether the
same people object every time their word processing application prompts them
for information with dialog boxes (for font selection, saving the file, and
so forth) rather than removing their document from the main window and
replacing it there with the prompt. Or whether it bothers them that the Help
command launches a separate window rather than, again, replacing the
document they're working on with the Help content.

Anyway, popups are useful for web-interface applications for exactly the
same reasons. But now, learning about accessibility issues, I have read that
popups are troublesome for people using adaptive software for visual
impairments. I would have thought that it might suffice to provide a
positive indication to such users that a link will open a separate window,
to indicate in the new window that it *is* a new window, and to provide a
message in the new window indicating that it should be closed to return to
the main window.

Apparently, that's not enough, and popups aren't allowed. Trying to find out
*why* there's an outright ban, I found in Google Groups a posting explaining
that, "It is a royal pain in the posterior to find your way back to where
you started when sites start spawning new windows. In MS Windows, you
cannot assume that when you kill the new window (Alt-F4 or whatever) you
will go back to the previous windows. The OS might decide to give the
desktop the focus, for example."

If I provide cues such as those I mentioned above, is this the sole
remaining objection? If so, can this be overcome by placing a link at the
top of the popup that reads, "Return to main window", and which uses script
to explicitly activate the main window before closing the popup?

Theoretically script is also not allowed--but I had understood that that was
only if it caused changes in the interface that weren't discernible to the
disabled user. The use of script here is specifically to *make* a change
discernible to the user. Does that change things?

If none of these considerations is sufficient to override the general ban on
popups, then what does one do instead, keeping in mind that the application
*also* has to operate in a manner that will be intuitive to the sighted
user?

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.

Jul 20 '05
52 4440
Jeff Kish wrote:

[snip]
Does anyone know the basics or mechanics of how the popups are blocked?


Just a complete guess, but the way I would implement it is have a
user-interaction flag that defaults to false. Upon any user interaction
(clicking on something that has a Javascript onclick event handler, for
example), the flag is set to true for that event handler. Then, in
window.open(), check to see if the flag is set or not. If it isn't, don't
display the popup.

Of course, you can just disable Javascript or window.open() entirely; I'm
just talking about so-called "smart" popup blockers that are intended to
block popup ads, but not "legitimate " popups.

--
Jim Dabell

Jul 20 '05 #51
Jeff Kish <je*******@mro. com> wrote:
Does anyone know the basics or mechanics of how the popups are blocked?


At the most basic - look for window.open in the code and hit it with a
large hammer until it stops working.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #52
Steve Pugh wrote:
Jeff Kish <je*******@mro. com> wrote:
Does anyone know the basics or mechanics of how the popups are blocked?


At the most basic - look for window.open in the code and hit it with a
large hammer until it stops working.


Oh, you mean _this_ snippet:

if (obj==window.op en) {
obj.bork().bork ().bork()
}
Or does that only work in the special edition of Opera7?
--
Iso.
FAQs: http://html-faq.com http://alt-html.org http://allmyfaqs.com/
Recommended Hosting: http://www.affordablehost.com/
Web Design Tutorial: http://www.sitepoint.com/article/1010
Jul 20 '05 #53

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
5496
by: Eunice Santorini | last post by:
Every once in a while (especially when I visit suspect web sites :), every single window on my Microsoft Windows XP & Microsoft Windows 2000 operating systems goes haywire. All the windows (every single one) shake, quiver, & shiver about. For example, if I use Netscape to pull down a menu item, that pull-down menu quivers and shakes and shivers. If I use Eudora to read email, not only does the main Eudora window shake, shiver, and...
5
3517
by: njuneardave | last post by:
I have a full-screen C# app, but windows notifications (the little balloons on the bottom right-hand of the screen) and outlook reminders will pop on top of my app. i want to prevent them from doing so. does anyone know how? thanks so much
1
2358
by: Moe Sisko | last post by:
Using : ASP.NET 2.0, IE 7. This is a strange problem with popups not working in IE to remote sites, even though popups are allowed in IE. To reproduce, create web site with two pages, Default.aspx and Default2.aspx. Note that the example is a deliberately simplified example - just used to reproduce the problem, and not meant to be very useful. Default.aspx - add button1. In codebehind, hookup click event :
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.