![]() |
![]() |
Web Design Information |
|
![]() |
![]() |
A More Accessible Pop-Up WindowKarl Groves More and more commercial websites are featuring pop-ups these days. In many instances, Im noticing more pop-ups being used for advertising, probably due to the harsh reality that is "banner blindness". In other cases, pop-ups are used to display supplemental content to the parent page. Unfortunately, many designers know little about how to make a proper pop-up window that will be accessible. Among the many concerns of accessible design is found in "Guideline 6" of the W3Cs Web Content Accessibility Guidelines: http://www.w3.org/TR/WCAG10/#gl-new-technologies - "Ensure that pages are accessible even when newer technologies are not supported or are turned off." Simply put, you should ensure that your content remains accessible to those who modify their accessibility settings to disable scripting or whose choice of adaptive technology does not recognize scripting. See also the relevant Section 508 criteria: http://www.access-board.gov/sec508/guide/1194.22.htm#l Popups are among the items that most often violate this accessibility guideline A common pop-up window link will probably begin like this: <a href="#" onClick="window.open...... or: <a href="javascript:; onclick="window.open....... In both instances, the link becomes completely unusable to those with scripts turned off or with browsers that do not recognize JavaScript. From here on out, lets assume our target audience fits one of the two situations just mentioned - either they have JavaScript disabled or their browser cannot recognize JavaScript. In the first case, using "#" as the hypertext reference will result, at best, in their being taken to the top of the page. The "#" sign is interpreted as whats known as a "Fragment Identifier Separator" see geekspeak at - http://www.w3.org/Addressing/URL/4_2_Fragments.html . What this means to us is that the "#" is supposed to point somewhere, such as a named object on the page. It is not a default "Do Nothing" character. The hash symbol prepends the name of the target. So that <a href="#contact">Contact me</a> will take you to a place on the page that is named "contact" - <a name="contact"></a> Using just plain "#" as the hypertext reference is bad because "A void fragment-id with or without the hash sign means that the URL refers to the whole object." In most browsers, it will be interpreted as pointing back to the beginning of the page. At best, it will do nothing when clicked. In the second case, using "javascript:;" as the hypertext reference simply does nothing. Remember, were dealing with those who for one reason or the other cant use anything dependent upon JavaScript. So again, this link does nothing for someone whose browser does not recognize javascript. It can be done better and work well for all Fortunately, we can create an accessible alternative that functions perfectly for those with JavaScript enabled, yet degrades well for those who dont. We do this by using a real link to the actual destination in our hypertext reference: <a href="file.html" onclick="window.openfile.html, window_name, toolbar=yes, location=yes, status=yes, menubar=yes, scrollbars=yes, resizable=yes, width=xxx, height=xxx; return false"> Open Window </a> The above is the "accessible" method to open a popup opening new windows is bad anyway, so I guess this is the lesser of two evils. Using the real file as the hypertext reference, but set the link to "return false" will operate properly whether the person has JavaScript enabled or not. Those without JavaScript enabled still get to the content, and those who have JavaScript get the popup as intended. Now, heres the treat: Many people offer a means to close the pop-up that has just opened. Again, they do this with either <a href="#"... or <a href="javascript:;... Like so: <a href="#" onClick="window.close">Close</a> Well, like I said before, all this does is take them to the top of the page. Assuming the popup is linked on only one page we can take them back by placing the referring file in the hypertext reference: <a href="referrer.html" onClick="window.close">Close</a> The use of the word "Close" might be confusing, but there are two schools of thought here. 1. By not opening the new window on those w/o JavaScript, the back button still works and will use this 2. Using a title will help them predict what will happen. Like so: <a href="referrer.html" title="clicking this link will take you back to the referrer if you dont have JavaScript" onClick="window.close">Close</a> Alternatively, you might also use the alt text attribute of a transparent spacer image: <a href="referrer.html"><img src="path/spacer.gif" width="1" height="1" border="0" alt="[Go Back]"></a> This assumes theyre also surfing with images off or on a non-graphical browser Ultimately, this comes down to what you hear me say so often: You cannot reliably predict the user or their settings. So dont try. Make it right and it will be usable to all. Disclaimer: Opening new windows is bad enough as it is. The above article only aims at showing you how to make them better. The best answer is to not use them at all. Please see the following links for details -
| ![]() | ![]() | ![]() | RELATED ARTICLES How to Create a Links Page and Build Page Rank One of the hardest achievements for a webmaster to obtain is a solid links page and great web site page rank. You know as well as I do that it is very difficult to obtain well page ranked reciprocal links. Especially when your actual links page is PR 1 or 2! There are ways to construct a links page with good page rank and reach a great page ranked web site. Three Way Linking - Webmaster Strategy Three way linking and concerns. Create your own Audio studio for under $100. Creating your own audio studio has never been easier. There are so many great products around today that will allow you to produce high quality audio for a fraction of the price it used to cost. eCommerce, How much does it cost Making profits with your existing website design or creating a new online store can be exciting, affordable and most of all; rewarding. Mmmm . . . thats what the last sales guy told me. Basic Design Principles Part 1 There are some very basic design principles that are important to know whether you’re a graphic designer, web designer, or even a photographer. Certain very basic design principles apply to all artistic fields and are necessary for the artist and valuable information for the consumer. 5 Essential Traits Of A Home Business Website So you’ve decided to start an online work at home businessand are just beginning to build your website. You probablyhave a million different ideas for what you want the site tolook like. You will want to take into consideration thatyour idea of a great website may differ drastically fromwhat a website designed to make sales should be like. The ‘Website’ CHECKLIST : Domains, Hosting, Web Design This article is meant to all who already have a website or who propose to buy it. Website – the term comprises three things : Domain, Hosting Web space & Web Design The Topic Of Your Website The first thing you will have to deal building your website has nothing to do with the web design itself, its me related to content writing but it must be defined and will effect the rest of your actions. So first of all you need to decide what the topic of your future website is. Topic is very closely connected to another web design issue: keywords. The keywords you select will depend upon the topic you have chosen. When thinking about website topic ask yourself a few questions: What is the goal of the site you are making What are you trying to achieve with your site. Specify a goal, preferably in one short sentence. TEN Tips For Your Web Site Home Page 1. Loading time:try to be below 20kbless number of imagesspecify height and width of imagesHtml with out errosWYSIWYG editors load up your html code. so try using text editor part of your html editors instead of visual editor Are You Getting The Most From Your Meta Tags As any Web Business startup knows, creating a Website is a bunch of work! You have to bother with content, layout, graphics and HTML links, just to name a few. What about your Meta Tags Bound To Your Old Expensive Web Host by Fear Bound To Your Old Web Host’s Sky High Rates By Fear Benefits Of Making Your Website Accessible To Disabled Users – Part 2: The Business Case The Disability Discrimination Act states that service providers must not discriminate against disabled people. A website is regarded as a service and therefore comes under this law. In Search of Webhosting: First Understand the Industry In search of a webhosting company for personal or small business purposes We advise you to take a look at this article to understand the hosting industry and study its dynamics to know what to look for before you make your choice. Web Hosting: 4 Factors in Choosing a Hosting Company When choosing a web hosting company there are a whole lot of different factors that should go into your decision making process. One of the biggest factors should be: The Top 15 Essential Ingredients of Every WINDOWS HOSTING Plan Package First things First. Why would you like to have Windows Based Hosting when there are Linux packages for cheaper ratesThe answer is – it depends onwhat application you are looking to use for your hosting. Consider the tools and scripting languages you plan to use – if you use PHP, Perl or MySQL, Linux is the way forward. If apps are Microsoft-specific, then Windows is what you need.Clear… Web page buiding for beginners 1 Making a web page is a simple job that can be done in minutes by anyone with no previous experience, so I will refrain from going in that direction as much as possible. The first thing an inexperienced webmaster should learn is search engine optimization, before ever making a page. The reason for this is simply because if they learn it after the page is made, it will cause them too much extra work that could have been avoided. 50 Surefire Web Design Tips Tips to brand your websiteInclude your logo in all pages. Position it at the top left or each page.Complement your logo with a tagline or catchy sentence that summarizes your business purpose. For example "Always low prices" is the tagline for Wal-Mart.Create a favicon. A favicon is that small graphic that appears next to the URL in the address bar.Have a consistent look and feel in all your pages. Use a color scheme and layout that are clearly recognized across your site.Have an About Us section, that includes all relevant information about you and your business.Include a copyright statement at the bottom of each page. Web Accessibility: The Basics What is web accessibility & why is it important Are You A Bill Clinton Webmaster One of the most frequent questions I get asked about my ebook, Dont Get Banned BY The Search Engines, is whether I amended it to include post-Florida Google."Florida" is the code name that search engine optimizer wizards gave to a November, 2003, shakeup at Google that left many webmasters covering themselves up with makeshift fig leaves while dangling upside down above the proverbial crocodile moat. Advantages for Using FrontPage... maybe this HTML editor has some hidden advantages Ever since Ive been doing SEO work, Ive always griped and complained about FrontPage and all the extraneous code it puts in thesection of the page, etc. ![]() |
home | site map |
© 2005 |