<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Design Shack &#187; Accessibility</title>
	<atom:link href="http://designshack.net/category/articles/accessibility/feed" rel="self" type="application/rss+xml" />
	<link>http://designshack.net</link>
	<description>Inspiration, CSS Gallery &#38; Community News</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Tips for Designing for Colorblind Users</title>
		<link>http://designshack.net/articles/accessibility/tips-for-designing-for-colorblind-users/</link>
		<comments>http://designshack.net/articles/accessibility/tips-for-designing-for-colorblind-users/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 03:05:20 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=10759</guid>
		<description><![CDATA[It&#8217;s estimated that about 8% of males and 0.5% of females are born colorblind. That may seem like a low number but if you&#8217;re designing for a large audience, having a site that&#8217;s unusable for eight out of every hundred males is definitely less than desirable. Fortunately, you can fairly easily make sure that your [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-8.jpg" alt="screenshot" width="510"/></div>
<p>It&#8217;s estimated that about 8% of males and 0.5% of females are born colorblind. That may seem like a low number but if you&#8217;re designing for a large audience, having a site that&#8217;s unusable for eight out of every hundred males is definitely less than desirable. </p>
<p>Fortunately, you can fairly easily make sure that your site is colorblind friendly by always keeping in mind the information below. We&#8217;ll take a look at what colorblindness really means and how you can tweak your designs based on a few simple principles.</p>
<p><span id="more-10759"></span></p>
<p>I&#8217;d like to start by saying that even though I am by no means an opthamologist, most of the men in my family are colorblind and any examples given below have been run by bonafide colorblind men. If you&#8217;re a colorblind person, your description of  the examples below might be slightly or even considerably different as no two set of colorblind eyes will quite be the same.</p>
<p><em>Like the article? Be sure to subscribe to our <a href="feed://feeds.feedburner.com/designshack">RSS feed</a> and follow us on <a href="http://twitter.com/designshack">Twitter</a> to stay up on recent content.</em></p>
<h2>The Science</h2>
<p>A discussion on colorblindness can get really scientific really fast. Terms like Protanopia and Anomalous Trichromacy are enough to get even considerably intelligent people tongue tied and confused.</p>
<p>Fortunately, as a designer you don&#8217;t need to become an expert on colorblindness. Instead, you can make widely applicable generalizations about what colorblind users do and don&#8217;t have trouble perceiving. This not only saves you a science lesson, it helps ensure that you are designing so that nearly all colorblind users can effectively use your site rather than only a single type.</p>
<p>Keep this in mind as you read the information below. Every statement made will not be true for all colorblind users, but at least some of it will apply to a very large majority of them.</p>
<p>If you are interested in the science, check out <a href="http://en.wikipedia.org/wiki/Colorblind">Wikipedia&#8217;s explanation</a> as it is far more advanced that is appropriate in this article.</p>
<h2>Busting the Myth</h2>
<p>First of all, you can confidently bet that no one you know is <em>literally</em> colorblind. The title is in fact (in most cases) a complete misnomer. A tiny percentage of humans are born with truly monochromatic vision.</p>
<p>Far more accurate terms include &#8220;color impaired&#8221; or &#8220;color deficient.&#8221; Instead of seeing the world in black and white, colorblind people can usually perceive and understand almost every color in the spectrum. One of the silliest, and most annoying, questions you can ask colorblind people is whether or not they can &#8220;see&#8221; yellow, green or any other color. </p>
<p>The real problem is that it is quite difficult for colorblind users to distinguish between two colors that are similar. This is really tricky to figure out when you consider that colors that don&#8217;t seem similar to you in the least might seem very similar to a colorblind person, and vice versa.</p>
<h2>It&#8217;s All About Shades</h2>
<p>To make this easier to understand, think about all the shades of all the colors you&#8217;ve ever seen. For instance, when you think of the color &#8220;green,&#8221; think about how many completely different color swatches could match your definition of green. Bright, dark, muted, watercolor, neon; on and on. This includes the slightest variations where one green might contain just a tiny bit more red or blue light than the another green.</p>
<p>Now imagine you counted all of these different shades of green that your eyes are capable of perceiving and they equaled, say 1 million (completely arbitrary number). Now give the same task to a colorblind person and they might come up with 500,000 or less.</p>
<p>So you see, it&#8217;s not that colorblind people (in most cases) are incapable or perceiving &#8220;green,&#8221; instead they merely distinguish fewer shades of green than you do. So where you see three similar shades of green, a colorblind user might only see one shade of green</p>
<p>To make it even more complicated, similar shades from different colors often run together and make it difficult to determine precisely what color something actually is.</p>
<h3>Examples</h3>
<p>It&#8217;s always a bit easier to understand with a few solid examples in front of you. Consider the following four swatches.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-1.jpg" alt="screenshot" width="510"/></div>
<p>First look at the bottom two swatches. Consider primarily the brightness of the swatches, even more so than the basic color. Colorblind users should easily be able to distinguish between these two swatches; just like you can. Whether or not a colorblind person will correctly identify the colors is a completely different story, but at the very least, it&#8217;s easy to tell that they are different colors. </p>
<p>Now, the top two swatches are a different story. The previous example might have you thinking that colorblind users can easily differentiate between brown and green, but you&#8217;d be wrong. Again, comparing only the relative brightness/darkness of the two swatches, you can probably see how these two swatches might look more similar. Now consider that, to many colorblind individuals, the top two swatches will be identical. </p>
<p>To travel even further down the rabbit hole, let&#8217;s repeat the dark brown and add a shade of dark red. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-2.jpg" alt="screenshot" width="510"/></div>
<p>Again we see two shades that are different colors, but again the relative brightness of the swatches is so similar that a colorblind user will have trouble distinguishing between them.</p>
<p>A set of normal eyes should see five different color swatches in the arrangement above (one is repeated). A set of colorblind eyes will probably see three or less!</p>
<h2>Painful Color Combinations</h2>
<p>Mix similar shades as in the examples above and your colorblind users either won&#8217;t notice of will be mildly annoyed. But if you really want to make your site completely unusable, start overlapping shades of colors that have similar brightness values but have the potential to seriously clash. </p>
<p>Reds and blues, purples and reds, pinks and blues and almost any combination of these are a great example. As an example of what not to do, consider the image below.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-3.jpg" alt="screenshot" width="510"/></div>
<p>Whereas you might see merely some ugly text, many colorblind users will see such vibrating colors that their eyes nearly begin to water (the further away they are the worse it becomes). It&#8217;s difficult to explain properly when you can&#8217;t see it but basically what happens is that it&#8217;s evident that the colors are very different but they&#8217;re actually similar enough that the edges where the two colors meet become very difficult to distinguish. This causes an altogether unpleasant experience for many colorblind users when viewing an image like the one above.</p>
<h2>So What? How Does This Affect My Designs?</h2>
<p>This information is all well and good but how does it practically apply to design? The answer is that there are a few key areas where you should really pay attention to how colorblind users might experience your site differently.</p>
<p>One of the most common mistakes that I see is in link hover effects. Countless designers simply apply a color shift as a hover effect and call it a day because they can perceive it just fine. </p>
<p>When in doubt, remember that colorblind users can perceive brightness shifts, for the most part, just like you can. A really dark blue and a really light blue will be an obvious switch. So if you switch colors on a hover, make sure the two colors are very different in their relative brightness. You can switch from a dark brown to a bright green, just not from a dark brown to a dark green. </p>
<p>Further, it&#8217;s always better to add something else visually in addition to color shifts. When the user hovers over a link, add a stroke, drop shadow, or anything else you can think of to make for an increased visual difference that doesn&#8217;t simply rely on a color change. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-4.jpg" alt="screenshot" width="510"/></div>
<h3>Infographics</h3>
<p>Another key area where color differences are important is with data visualization. Choosing the wrong colors for a chart can make it literally unreadable for a colorblind user. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-5.jpg" alt="screenshot" width="510"/></div>
<p>Even if your colors are very different, it&#8217;s often a good idea to add a little pattern or texture to different parts of a chart to make for easier visual differentiation. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-6.jpg" alt="screenshot" width="510"/></div>
<p>In the example above, even though the colors are still similar enough that a colorblind user might not be able to see the difference, the stripes make for a quick and easy visual reference for all users. </p>
<h3>Games</h3>
<p>As you can imagine, the possibilities for colorblind users to be left out are endless, but one final place I want to discuss where this can be particularly frustrating for them is with games. </p>
<p>Imagine trying to play the iPhone game below as a colorblind user. Matching the colors up to complete the puzzle could be quite difficult!</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/colorblindUsers-7.jpg" alt="screenshot" width="510"/></div>
<p>Many iPhone games have compensated for this by having an optional colorblind mode, but to make it simple just consider adding symbols in addition to color to make it easier for everyone to play. As an illustration, consider a deck of playing cards. There&#8217;s more going on than red cards and black cards. Everyone playing, colorblind or not, knows that the diamonds and hearts are the red cards while clubs and spades are the black cards. Even when you see these symbols in a black and white photograph, you can confidently distinguish between the red and the black cards. This is exactly how your games should be developed. </p>
<h2>Conclusion</h2>
<p>In closing, just remember that it&#8217;s actually really easy to make your site accessible for colorblind users. You only have to put forth a conscious effort where it affects how the site works or when color perception could impair the readability of text. Who cares If you have a brown background that colorblind users think is green? Most of the time, they sure won&#8217;t.</p>
<p>Just make sure that when it matters, such as with links, charts and games, you look for ways to add contrast. Use highly contrasting colors colors, implement patterns, apply symbols, and use tricks with strokes, shadows and the like to make sure there is significant visual difference in all the right places. It can often be helpful to use a <a href=" http://colorfilter.wickline.org/">colorblindness simulator</a> to help decide how the colors on the page affect the overall experience.</p>
<p>Leave a comment below and let us know if you ever consider colorblind users when designing a site and how you accommodate their needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/tips-for-designing-for-colorblind-users/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>Learning From Microsoft: 10 Design Pitfalls to Avoid</title>
		<link>http://designshack.net/articles/accessibility/learning-from-microsoft-10-design-pitfalls-to-avoid/</link>
		<comments>http://designshack.net/articles/accessibility/learning-from-microsoft-10-design-pitfalls-to-avoid/#comments</comments>
		<pubDate>Sat, 01 May 2010 05:42:53 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=8032</guid>
		<description><![CDATA[Today we&#8217;ll look into the web design practices and trends of the single biggest name in software to see if we can learn anything about some mistakes to avoid in our own work. Feel free to comment to either agree or disagree with the suggestions below. As professional designers your insight is valuable and I [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/MicrosoftLogo.jpg" alt="screenshot" width="510"/></div>
<p>Today we&#8217;ll look into the web design practices and trends of the single biggest name in software to see if we can learn anything about some mistakes to avoid in our own work.</p>
<p>Feel free to comment to either agree or disagree with the suggestions below. As professional designers your insight is valuable and I look forward to your thoughts.</p>
<p><span id="more-8032"></span></p>
<h2>The Occasional Rant</h2>
<p>To everyone who hates articles filled with rants, I apologize that this post is a little harsh at times. I normally favor praising good design over criticizing bad, but when David Appleyard and I decided to do a post on the design trends of Microsoft, there just seemed to be a lot more to learn about the messy, ugly, and/or inadvisable things that they do than the alternative. </p>
<p>To cut you off in the comments, I won&#8217;t mention or make a single comparison to Apple in the analysis below. This is not meant to be a PC versus Mac argument in the least, but rather a look at what we believe to be genuinely poor practices in web design and development. In all fairness, Microsoft is a hugely successful company and is not exacting failing due to any of these problems. In fact, as we point out below, Microsoft really seems to have some stellar designers on the team for certain sites, we merely suggest that a greater level of quality control be implemented across the board. </p>
<p>With that in mind, let&#8217;s analyze a few places that Microsoft seems to fall short in its design and development practices and how you can benefit from this knowledge.</p>
<h2>#1 Beware of Mandating Certain Plugins</h2>
<p>If we&#8217;ve learned anything from the recent scrapes between Apple and Adobe it&#8217;s that creating sites entirely dependent on closed third party plugins can eventually lead to some serious backfire. Microsoft seems to be repeating this same blunder as its own network of sites becomes more and more deponent on Silverlight. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-1.jpg" alt="screenshot" width="510"/></div>
<p>As I browsed Microsoft&#8217;s various sites preparing for this article I was constantly harassed by windows informing me that I had not installed Silverlight and therefore could not experience the webpage the way it was meant to be viewed. My question is, &#8220;why go this route?&#8221; Especially when we&#8217;re talking about simple slideshows and animations that can be done with more ubiquitous technologies. Granted, Microsoft owns Silverlight so it makes good business sense for them to back up their investment, but that doesn&#8217;t mean that it&#8217;s the best choice for you to go jumping on their bandwagon. </p>
<p>Whether you&#8217;re a huge fan of Silverlight or not, my advice is to be extremely cautious about basing the functionality of your site on this or any similarl technology. As the debate about whether or not it makes good sense to develop sites with Flash continues to heat up, second in line systems like Silverlight become even more of a gamble. Where possible, stick to cross-browser, standards-compliant code and tools that don&#8217;t require any additional work or installations from your visitors. </p>
<h2>#2 Watch Your Resolution</h2>
<p>This is one of my biggest complaints about Microsoft simply because it just seems like sloppy design. There is undoubtedly a fine line to walk between keeping your file size down to increase usability and keeping your pictures clean and crisp, but I can&#8217;t help but feel that Microsoft seems to be more prone to display ugly, jagged JPGs than literally any other professional site that I&#8217;ve seen in the past few years. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-2.jpg" alt="screenshot" width="510"/></div>
<p>The ever decreasing amount of dial-up Internet users continues to push acceptable image sizes up and up. This by no means implies that you should not take special care to make everything as small as is reasonable, but the moment it starts to weigh so heavily on the design that it dramatically reduces the apparent quality of the site, the images become self defeating!</p>
<p>You&#8217;re living out pure irony if you use images to make your site look better but ultimately reduce your aesthetic appeal in the process. When possible, preview your processed images on different monitors and pay close attention to how much distortion and artifacting you find to be acceptable. </p>
<h2>#3 Organized Clutter</h2>
<p>Sometimes you can follow all of the obvious design rules and still end up with something that seems visually subpar. Browsing Microsoft&#8217;s sites I came across countless areas like the one below that just seemed cluttered despite their attempts at column-based organization. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-3.jpg" alt="screenshot" width="510"/></div>
<p>So what&#8217;s the problem? Simply put, there is a ton going on in a relatively small space here. Even thought they&#8217;ve definitely attempted to arrange the content and enhance the visual readability through icons, the end result is still quite off balance. </p>
<p>If you take a close look at what&#8217;s going on here it feels like four columns of information designed by four different people that have been crammed together. The left side seems really heavy with images compared to the right, the text color is a little sporadic, the content is awkwardly staggered, and the columns lack enough breathing room to make them seem like the independent areas that they are. </p>
<p>The lesson here is to be careful of packing a single area of your page too full of disparate information. There are undoubtedly plenty of times when the situation will demand lots of content, but the organization should be handled in a consistent and attractive manner as seen in the beautiful examples below (from non-Microsoft sites). </p>
<div class="tutorialimage"><a href="http://www.177designs.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-3-2.jpg" alt="screenshot" width="510"/></a></div>
<div class="tutorialimage"><a href="http://www.sketchdock.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-3-3.jpg" alt="screenshot" width="510"/></a></div>
<h2>#4 Inconsistency</h2>
<p>Starting from Microsoft.com, open up the gargantuan navigation dropdown menus and choose an area of the site to visit. No matter which link you click, the resulting page will look quite different than the homepage and different still from most of the other links available in the same dropdown.</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-4.jpg" alt="screenshot" width="510"/></div>
<p>Exploring the Microsoft site is like spinning a roulette wheel. You have virtually no idea where you&#8217;re going to land and what to expect from the next page. Some pages feature swooshy backgrounds while other use soft gradients or even exploding circles. Most pages seem to favor blue but not necessarily the same blue and there are also plenty of pages that ignore the blue trend altogether. </p>
<p>The point is, whether your site has two pages or two hundred, consistency is a must. It makes users feel more comfortable when they can become familiar with the way a site works and looks within a few seconds. Giving them something drastically different every few pages makes browsing a more confusing and less efficient experience. </p>
<p>in addition to this there&#8217;s the idea that creating a strong, consistent brand is just good business as it helps customers relate to your company in a more personal way. Admittedly, Microsoft is juggling many different brands and microsites that all stem from the homepage, but even among what could be considered the core Microsoft.com pages, the image themes and navigation methods seem drastically diverse. </p>
<h2>#5 Clipart-centric Design</h2>
<p>This suggestion is obviously a little absurd seeing as how clip-art and Microsoft Office have always been inexorably intertwined. However, icon design has come a long way since 1995 and it&#8217;s about time to give up that specific style in the images you use. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-5.jpg" alt="screenshot" width="510"/></div>
<p>The examples of art above pulled from various Microsoft pages simply make me cringe, especially that awful &#8220;Beginner Developer&#8221; logo. I have no idea why a boomerang is attacking a plant or whether the magical hovering computer monitor is aiding in the attack or fleeing the scene. All I know is that the visual communication here is an indecipherable mess. </p>
<p>This is one of the primary reasons CSS galleries like our own exist. Not so you can steal the design of others, but so you can get a glimpse into the state of design in the decade you&#8217;re developing in. Browsing through these galleries is like visiting popular clothing stores at the mall to show your crazy aunt that she doesn&#8217;t have to dress like someone from the Sunny and Cher show.</p>
<p>Always feel free to break boundaries and move beyond current deisgn trends by starting your own. Just be cautious of staying stubbornly stagnant for years while the rest of the world moves on. </p>
<h2>#6 Misaligned Overflowing Text</h2>
<p>Another trend that&#8217;s hard to miss across Microsoft&#8217;s sites is the constantly broken columns of text that overflow their obvious bounds. </p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-6.jpg" alt="screenshot" width="510"/></div>
<p>This one is fairly easy to fix and really only requires a bit of effort and attention. Just make sure to take advantage of free tools like <a href="https://browserlab.adobe.com/index.html">Adobe&#8217;s browser lab</a> to ensure that your layouts don&#8217;t break when viewed on any major browsers. </p>
<p>Though CSS layout is an admittedly tricky beast when it comes to cross-browser consistency, small mistakes like this really bring your site quality down and are worth the troubleshooting time they take to resolve. </p>
<h2>#7 Poor Alignment</h2>
<p>Sometimes a given page presented me with the challenge of deciding which design foible to point out. For instance, on the page below I originally considered picking on the use of a tiny screenshot that doesn&#8217;t get bigger when you click on it, but the more I looked at the page the more I became confused as to what was going on with the layout.</p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-7.jpg" alt="screenshot" width="510"/></a></div>
<p>If you&#8217;re familiar at all with basic design theory, you know that learning to implement solid, consistent alignments is the key to good page layout. The odd mixture of left, center and right visual alignments taking place on the site above, in conjunction with the awkward empty space near the top, make for a really odd visual flow of the information being presented. </p>
<p>Further, if you visit the page above you&#8217;ll see that the content as a whole seems like it&#8217;s trying to be centered but is really thrown off by the strip across the middle, which makes the page seem quite right of center. </p>
<h2>#8 Ad Clutter</h2>
<p>Free design blogs like this one have to feature plenty of ads, it&#8217;s simply the way we make an income and continue to provide you with content. However, if you&#8217;re running a professional business site, you have to consider carefully if you want to detract from your message and professionalism with advertising. </p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-8.jpg" alt="screenshot" width="510"/></a></div>
<p>The pages of Microsoft.com are littered with various ads that really bring down the aesthetic of the page that they&#8217;re on. Sometimes these ads point directly to other Microsoft pages, sometimes to other companies or partners. There&#8217;s nothing wrong with the concept of directing traffic to other parts of your site, but how you accomplish this can make a huge difference. </p>
<p>If there&#8217;s one thing most web users have learned to spot, ignore and possibly even resent, it&#8217;s a banner ad. Not to say that this type of advertising doesn&#8217;t work with proper targeting and design, or to even say that Microsoft users aren&#8217;t clicking on these, but I do wonder if there isn&#8217;t a better way.</p>
<p>If Microsoft wants to direct traffic to their mobile phones and other projects, the easy way out is to setup a cluttered, non-standard (design wise) ad system that rolls across their entire site. However, it seems like integrating this content as part of the actual site would have a much better click-through rate as more users would take note of the message and not have to break any internalized rules about avoiding banner ads at all costs. </p>
<p>Plus, such integration would force the designs to be more consistent because they are created as a single unit rather than by separate teams. Again, this is a scenario where I can understand the cost-efficiency of Microsoft&#8217;s approach, but want to caution you against following their lead. Odds are, the sites you design won&#8217;t rival the mega-network of Microsoft sites and will therefore more likely lend themselves to solid, integrated design so you can avoid the visual clutter of excess ads.</p>
<p>Obviously, there are plenty of sites genres where this doesn&#8217;t apply at all as advertising is expected to be present. Just make sure you consider whether your site should be dedicated to selling your product or service, or requires the extra income and distraction of advertising. </p>
<h2>#9 A Lack of Breathing Room</h2>
<p>In print design, designers setup every page with a &#8220;live area.&#8221; This is usually a rectangular inset from the trim of the page that defines the area in which it is safe to place content to avoid page cutoff or edge crowding. Most web designers do this intuitively as it&#8217;s fairly obvious you don&#8217;t want your content to be too far crammed up against the side of the browser. </p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-9.jpg" alt="screenshot" width="510"/></a></div>
<p>However, as the screenshot above shows, there are a few Microsoft pages that don&#8217;t seem to put stock in such opinions. Instead, the content starts as soon as the page does with zero horizontal padding or margin (at least on the browsers that I checked with). </p>
<p>The navigation panel doesn&#8217;t feel like it&#8217;s built-in to the side of the page, it feels like it&#8217;s getting cutoff (again, it may be doing just that due to the fact that I don&#8217;t have IE). The lesson here is simple: always be conscious of the edge of the browser window. Unless you&#8217;re breaking the rule for an obvious visual bleed effect, place your content, especially interactive portions and links, well within a safe margin so that users don&#8217;t feel crowded when they try to use it. </p>
<p>If you look closely at the screenshot above you can see some more examples of Microsoft&#8217;s designers simply not considering whether or not their text will flow properly on all major browsers. This is quite the amusing trend for Microsoft as many web designers spend their days attempting to make special accommodations for Microsoft&#8217;s Internet Explorer, but the multi-billion dollar company can&#8217;t be bothered to return the favor by checking their own work on other systems. </p>
<h2>#10 Failing to Leverage Your Talent</h2>
<p>Though there are plenty of negative comments above about the web designers over at Microsoft, I was pleasantly surprised to see that they do in fact have quite a few sites and pages that look simply amazing. </p>
<div class="tutorialimage"><a href="http://home.live.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10MS-10.jpg" alt="screenshot" width="510"/></a></div>
<p>The examples above are just two of the many places I believe Microsoft really knocked it out of the park with their layout, color choices, graphics, and cross-browser compatibility. What this tells me is that somewhere among the vast pool of cubicles in this company there sits some really talented individuals capable of taking the company completely out of its design slump. </p>
<p>These designers, whoever they are, should be promoted to positions that would allow them to cooperate together and set consistent standards that literally every Microsoft web designer would be forced to follow. In place of a labyrinth of disconnected jumbles of content they could create a strongly branded network of beautiful sites that all clearly belong in the same family. </p>
<p>The final suggestion I present to you is to find these types of outstanding individuals in your own company and give them a voice. Rather than lamenting at the lack of talent among the other members of your team, appoint the strongest designers and developers to positions where they can influence every piece of visual communication that rolls out associated to a specific brand. </p>
<p>This can be done efficiently and effectively by creating clear, consistent and strict brand guidelines that are distributed to every designer and developer for every distinct brand that you work with. </p>
<h2>Closing Thoughts</h2>
<p>To sum up, though Microsoft possesses quite a few extremely talented web designers, the work of these individuals is almost completely overshadowed by the vast amount of content that doesn&#8217;t even meet standards that we would expect from rookie designers and developers in their first year. </p>
<p>Fortunately, we can use companies like Microsoft as instructional aids to clearly illustrate that there is in fact a wrong way to do things. Never imagine that just because you&#8217;re a lonely freelancer or small design firm that you can&#8217;t completely outperform mega-corporations and design firms when it comes to the quality of work you produce. </p>
<p>I&#8217;ve found that it is often easier to find examples of quality designers in home offices around the world than sitting at the desks of large firms. Take comfort in the fact that you don&#8217;t have to coordinate and control the quality of hundreds of designers. Do your best to create some of the best sites on the web with the small amount of resources you possess in conjunction with a mass amount of personal drive to create beautifully functional designs. </p>
<p><em>Like the article? Be sure to subscribe to our <a href="feed://feeds.feedburner.com/designshack">RSS feed</a> and follow us on <a href="http://twitter.com/designshack">Twitter</a> to stay up on recent content.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/learning-from-microsoft-10-design-pitfalls-to-avoid/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>12 Tips for a More Accessible Website</title>
		<link>http://designshack.net/articles/accessibility/12-tips-for-a-more-accessible-website/</link>
		<comments>http://designshack.net/articles/accessibility/12-tips-for-a-more-accessible-website/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 16:40:01 +0000</pubDate>
		<dc:creator>Tom Walker</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=6708</guid>
		<description><![CDATA[Making your website accessible to everyone is not only a moral duty, it&#8217;s a legal obligation. Many organizations, including the International Olympic Committee, have been sued for not making their websites accessible enough. With 50 million Americans suffering from some disability or other, improving your site&#8217;s accessibility makes clear commercial sense too. It&#8217;s not just [...]]]></description>
			<content:encoded><![CDATA[<div class="tutorialimage"><a href="http://www.flickr.com/photos/stephenjohnbryde/3323718703/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/leader.jpg" alt="screenshot" width="510"/></a></div>
<p>Making your website accessible to everyone is not only a moral duty, it&#8217;s a legal obligation. Many organizations, including the International Olympic Committee, have been sued for not making their websites accessible enough. With 50 million Americans suffering from some disability or other, improving your site&#8217;s accessibility makes clear commercial sense too.</p>
<p><span id="more-6708"></span></p>
<p>It&#8217;s not just those labeled as &#8216;disabled&#8217; who stand to gain either. Research suggests that 57% of adult computer users will benefit from enhanced accessibility of some kind. Only 19% of websites currently meet the most basic accessibility requirements, so you can really stand out from the competition by making a few changes to your site.</p>
<p>In this article, we explore 12 ways in which you can make your site more accessible. Some methods are very cheap and quick to implement, others require a little more time and financial investment, but you should think of them as business opportunities. With the internet so central to all of our lives these days, it&#8217;s unfair that some people are being left behind.</p>
<h3>1. <a href="http://www.w3.org/WAI/intro/aria">WAI-ARIA</a></h3>
<div class="tutorialimage"><a href="http://www.w3.org/WAI/intro/aria"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/1-wai-aria.jpg" alt="screenshot" width="510"/></a></div>
<p>When improving your site&#8217;s accessibility, your first port of call should be a set of documents, published by the Worldwide Web Consortium, called WAI-ARIA. These documents basically set out the ways in which developers should add metadata to HTML for improved accessibility.</p>
<h3>2. <a href="http://www.smashingmagazine.com/2009/04/22/progressive-enhancement-what-it-is-and-how-to-use-it/">Progressive Enhancement</a></h3>
<div class="tutorialimage"><a href="http://www.smashingmagazine.com/2009/04/22/progressive-enhancement-what-it-is-and-how-to-use-it/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/2-progresive-enhancement.jpg" alt="screenshot" width="510"/></a></div>
<p>Progressive enhancement means designing a website in a layered fashion so that everyone can access the most basic functions and users with better bandwidth and advanced browsers can see an enhanced version. Sites built using a strategy of progressive enhancement can be read much more easily by screen reading software, used by people with a range of disabilities.</p>
<h3>3. <a href="http://jimthatcher.com/webcourse2.htm">Alternate Content</a></h3>
<div class="tutorialimage"><a href="http://jimthatcher.com/webcourse2.htm"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/3-alternative-images.jpg" alt="screenshot" width="510"/></a></div>
<p>It&#8217;s absolutely vital that you provide a text equivalent for non-text content in your site. Images and videos need alt tags, so that people using screen reading software can find out exactly what&#8217;s on a page. Links need relevant title tags too.</p>
<h3>4. <a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/">Captions</a></h3>
<div class="tutorialimage"><a href="http://www.w3.org/TR/WCAG10-HTML-TECHS/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/4-captions.jpg" alt="screenshot" width="510"/></a></div>
<p>As well as alt tags, images, audio and video clips need captions, so that the visually impaired know exactly what they&#8217;re looking at. If you&#8217;re uploading videos or podcasts, provide a paragraph of text summarizing its contents, or even better, provide a full transcript. Don&#8217;t forget, captions really help with SEO too.</p>
<h3>5. <a href="http://atto.buffalo.edu/registered/ATBasics/Curriculum/Reading/textScreen.php">Screen Reading Software</a></h3>
<div class="tutorialimage"><a href="http://atto.buffalo.edu/registered/ATBasics/Curriculum/Reading/textScreen.php"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/5-screen-reading-software.jpg" alt="screenshot" width="510"/></a></div>
<p>Most blind and partially sighted people use screen reading software when browsing websites. One of the best ways to make sure that your website is accessible to them is to try using the same software yourself. Turn off your monitor and run the software to find out exactly what your site&#8217;s saying to these valuable readers and potential customers. If the software starts spouting gibberish, you know you need to make some changes!</p>
<h3>6. <a href="http://www.userfocus.co.uk/consultancy/accessibility.html">Audit</a></h3>
<div class="tutorialimage"><a href="http://www.userfocus.co.uk/consultancy/accessibility.html"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/6-audit.jpg" alt="screenshot" width="510"/></a></div>
<p>No amount of accessibility testing you do yourself can compare to having a real specialist cast their expert eye over your site. There are a number of companies and individuals who will carry out an accessibility audit for you, telling you exactly which changes you need to make.</p>
<h3>7. <a href="http://www.webcredible.co.uk/user-friendly-resources/web-usability/usability-testing.shtml">Usability Testing</a></h3>
<p><a href="http://www.webcredible.co.uk/user-friendly-resources/web-usability/usability-testing.shtml">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/7-usability-testing.jpg" alt="screenshot" width="510"/></a></div>
<p>Usability testing is another valuable way to identify potential accessibility problems with your site. Get a group of people with a range of different needs to try your site out for real, navigating around and performing tasks. They&#8217;ll be able to tell you in detail about any problems they encounter, lots of which, you&#8217;re bound to find, will not be included in WAI-ARIA guidelines.</p>
<h3>8. <a href="http://articles.sitepoint.com/article/sheets-greater-accessibility">Stylesheets</a></h3>
<div class="tutorialimage"><a href="http://articles.sitepoint.com/article/sheets-greater-accessibility"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/8-stylesheets.jpg" alt="screenshot" width="510"/></a></div>
<p>When you&#8217;re building or redesigning your site, make sure that your stylesheets permit variable font sizes and never use fixed fonts. You&#8217;d be amazed by how many users, from old people to those with slightly poor eyesight, resize their fonts on a regular basis.</p>
<h3>9. <a href="http://kb.mozillazine.org/Accessibility_features_of_Firefox">Font Controls</a></h3>
<div class="tutorialimage"><a href="http://kb.mozillazine.org/Accessibility_features_of_Firefox"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/9-font-controls.jpg" alt="screenshot" width="510"/></a></div>
<p>Firefox and Internet Explorer users can enlarge fonts but lots of people are not aware of this and others still are using older browsers that do not have this capability. For them, consider embedding font resizing controls into your site.</p>
<h3>10. <a href="http://www.skillsforaccess.org.uk/howto.php?id=105">Consistency</a></h3>
<div class="tutorialimage"><a href="http://www.skillsforaccess.org.uk/howto.php?id=105"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/10-consistency.jpg" alt="screenshot" width="510"/></a></div>
<p>Consistency in design from page to page is really important for people who can&#8217;t take in a whole page at a glance, and those using screen readers. If you&#8217;re site&#8217;s consistent, with the same things in the same place on each page, they&#8217;ll be able to get to navigate around much more easily. Sighted users often find consistency beneficial too.</p>
<h3>11. <a href="http://www.usability.com.au/resources/menus-links.cfm">Text for Navigation</a></h3>
<div class="tutorialimage"><a href="http://www.usability.com.au/resources/menus-links.cfm"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/11-text-navigation.jpg" alt="screenshot" width="510"/></a></div>
<p>Avoid using images for navigation on your site, at all costs. Use text instead. Screen readers can understand it and it&#8217;s much easier to resize. If your navigation controls can&#8217;t be enlarged, make sure they&#8217;re written in a clear font, at least 16 point in size.</p>
<h3>12. <a href="http://evolt.org/Understanding_Color_and_Accessibility">Colors</a></h3>
<div class="tutorialimage"><a href="http://evolt.org/Understanding_Color_and_Accessibility"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/12-colors.jpg" alt="screenshot" width="510"/></a></div>
<p>Using different colors in websites is great, but you have to consider how they work together to create a clear image. Foreground and background colors must contrast sufficiently and you can forget about using light-grey text it&#8217;s difficult enough for people with 20-20 vision to read. Links must be a different color from the rest of the text on your site, preferably blue and always underlined.</p>
<h2>Conclusion</h2>
<p>Accessibility is an often overlooked aspect of web design, but it&#8217;s something that should be at the core of your design process right from the start when you&#8217;re wireframing a layout. Without sounding too self-serving, ensuring that your website meets the standard for accessibility means one thing: more happy customers. And you know what that means!</p>
<p>Use the comments below to tell us if you agree with the tips above and how you&#8217;ve made your site more accessible.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/12-tips-for-a-more-accessible-website/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>The Importance of a / B Design Testing</title>
		<link>http://designshack.net/articles/accessibility/the-importance-of-ab-design-testing/</link>
		<comments>http://designshack.net/articles/accessibility/the-importance-of-ab-design-testing/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:30:50 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Layouts]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=6371</guid>
		<description><![CDATA[For many developers, launching a site is not the end of the design process. To continually improve the success of their design, these developers turn to A/B testing. This relatively simple process can teach you loads about what your users are looking for as well as what they ignore or find unimportant. Today we&#8217;ll take [...]]]></description>
			<content:encoded><![CDATA[<p>For many developers, launching a site is not the end of the design process. To continually improve the success of their design, these developers turn to A/B testing. This relatively simple process can teach you loads about what your users are looking for as well as what they ignore or find unimportant. </p>
<p>Today we&#8217;ll take a quick look at what A/B testing is, the benefits of implementing it, and some tools to get you going.<br />
<span id="more-6371"></span></p>
<h2>What is A/B Testing?</h2>
<p>A/B testing is extremely simple in concept. It&#8217;s basically testing the effectiveness of different designs to find the optimum solution. These tests are usually performed on live sites with real users who are completely unaware of the test. To clarify, lets look at an example.</p>
<h3>Is Bigger Better?</h3>
<p>Let&#8217;s say <a href="http://www.vanillaforums.com/">Vanilla Forums</a> wanted to know if their current homepage could be improved by increasing the size of the sign up button. The first thing they would do is create an alternate version of their page containing the desired revisions. The image below shows their current page followed by the page they&#8217;d like to test:</p>
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/AB-vanilla.jpg" alt="screenshot" width="510"/></div>
<p>As you can see, the new version differs enough to theoretically impact the way users perceive the page. However, in order to get a good idea of the impact of the placement of that single button, we haven&#8217;t moved much else on the page. You can of course use this method to test the difference between two completely different designs, but the thing I really want to highlight is that A/B testing provides you with solid information on how to improve a current design without making a complete overhaul of the site. </p>
<p>Now Vanilla Forums would setup their site to show version one to half the visitors for a specified amount of time and version two to the rest. Then they would compare the results of the two pages to see which snagged the greatest amount of users (using some tools we&#8217;ll discuss later).</p>
<h2>Benefits</h2>
<p>I&#8217;m sure you can immediately name several of the benefits this method would bring to your own site. Let&#8217;s go over a few. </p>
<h3>It&#8217;s Easy!</h3>
<p>First and foremost, moderate A/B testing is neither expensive nor difficult to implement all on your own; no expensive consultants or outside agencies required. It definitely takes some work but fortunately there are some great resources out there to help you do the heavy lifting.</p>
<h3>Hard Evidence</h3>
<p>Using A/B testing lays to rest any usability arguments you might be having around the office or even within your own mind. If your team is torn over two possible scenarios for your site, you can have the various parties dispute the matter all day long but the bottom line is you simply can&#8217;t know for certain what will appeal to your users most without testing it out in the real world. A/B testing provides you with an easy way to prove who is right through actual statistics from user interactions.</p>
<h3>Incremental Improvement</h3>
<p>I&#8217;ll again stress that one of they key pieces of potential here is the ability to incrementally improve the interface and/or messaging on your site. As a site owner, this can provide you with a solid way to improve your earnings over time. As a developer, this could provide you with a way to form long-term contracts with your clients. </p>
<h2>Things to Keep in Mind</h2>
<p>Despite the straightforward nature of the concept of A/B testing, there are several things you should be aware of and considering as you implement it on your site.</p>
<h3>What&#8217;s Your Goal?</h3>
<p>&#8220;Better&#8221; is quite the relative term. You can&#8217;t know if one page is better than another unless you define the terms of the judgement. Similarly, when performing a test, you can&#8217;t run wildly into it without consideration of what it is you want to observe. For instance, the Vanilla Forums example above was meant to increase the number of users that click the button to sign up for the service. Note that this is a clear goal that is easily testable, not simply a vague statement regarding the aesthetic nature of one layout over another. </p>
<p>There are several possible goals and metrics to use when testing the efficacy of one design over another. These include the total time spent on the site, the number of pages visited, the percentage of users who navigated to a specific page, etc. </p>
<h3>There Won&#8217;t Always Be a Clear Winner</h3>
<p>Despite the fact that A/B testing can give you clear proof of the superiority of one design over another, sometimes the result isn&#8217;t so clear cut. It&#8217;s possible that something that you imagined would play a key role in the actions of the users doesn&#8217;t really affect them in any significant way. Further, even if you observe a difference, that doesn&#8217;t necessarily mean that the difference was a result of the variable. Basic statistical principles prevent a degree of random fluctuation between the results of each version, the goal is to spot differences beyond what would normally occur even if each of the two groups received the same page. Keep in mind that the more users you have to take part in the test, the greater the accuracy of the results. </p>
<p>Resist the urge to nit-pick every tiny portion of your site and change something every time you see the slightest increase in conversions. Look for significant ways to improve your site through clearly met goals. </p>
<h3>Multivariate Testing is Also Possible</h3>
<p>If you want to go beyond testing the effect of a single variable, multivariate testing provides a way to change up the mix of elements shown to a given user to track which variables have the greatest impact.</p>
<h2>Tools and Resources</h2>
<p>Now that we&#8217;ve briefly gone over the ins and outs of A/B testing, I&#8217;m sure you&#8217;re eager to get started. Check out these great resources to get you on your way to enhancing your sites.</p>
<h3><a href="https://www.google.com/accounts/ServiceLogin?service=websiteoptimizer&#038;continue=http://www.google.com/analytics/siteopt/%3Fet%3Dreset%26hl%3Den-US&#038;hl=en-US">Google Website Optimizer</a></h3>
<div class="tutorialimage"><a href="https://www.google.com/accounts/ServiceLogin?service=websiteoptimizer&#038;continue=http://www.google.com/analytics/siteopt/%3Fet%3Dreset%26hl%3Den-US&#038;hl=en-US"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/AB-google.jpg" alt="screenshot" width="510"/></a></div>
<p>If you&#8217;re just getting started with A/B testing, Google Website Optimizer should be your first stop. It&#8217;s fairly straightforward and easy to use and has a lot of resources to walk you through the process of testing (A/B or multivariate). Best of all: it&#8217;s completely free.</p>
<h3>Alternatives to Google</h3>
<p>If you&#8217;re not impressed with Google&#8217;s offerings, check out these other options.</p>
<h4><a href="http://visualwebsiteoptimizer.com/">Visual Website Optimizer</a></h4>
<div class="tutorialimage"><a href="http://visualwebsiteoptimizer.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/AB-visual.jpg" alt="screenshot" width="510"/></a></div>
<h4><a href="http://www.sitespect.com/">SiteSpect</a></h4>
<div class="tutorialimage"><a href="http://www.sitespect.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/AB-sitespect.jpg" alt="screenshot" width="510"/></a></div>
<h4><a href="http://www.vertster.com/lp/ab-split-testing?source=google&#038;adgroup=abtest&#038;gclid=CK-91MnDqqACFRsVawodSQxVZQ">Vertster</a></h4>
<div class="tutorialimage"><a href="http://www.vertster.com/lp/ab-split-testing?source=google&#038;adgroup=abtest&#038;gclid=CK-91MnDqqACFRsVawodSQxVZQ"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/AB-vertster.jpg" alt="screenshot" width="510"/></a></div>
<h4><a href="http://www.abtests.com/">ABTests</a></h4>
<div class="tutorialimage"><a href="http://www.abtests.com/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/AB-abtests.jpg" alt="screenshot" width="510"/></a></div>
<h3>More Info</h3>
<p>Want to know more about A/B testing? Check out these other great articles.</p>
<ul>
<li><a href="http://www.problogdesign.com/analytics/fundamentals-of-ab-and-multivariate-testing/">Fundamentals of A/B and Multivariate Testing (Pro Blog Design)</a></li>
<li><a href="http://www.uxbooth.com/blog/how-to-increase-site-performance-through-ab-split-testing/">How To Increase Site Performance Through A/B Split Testing (UX booth)</a></li>
<li><a href="http://www.webcredible.co.uk/user-friendly-resources/web-usability/ab-testing.shtml">Split A/B Testing (Webcredible)</a></li>
<li><a href="http://carsonified.com/blog/business/how-to-do-ab-testing-in-wordpress/">How to do A/B Testing in WordPress (Carsonified)</a></li>
<li><a href="http://briancray.com/2009/08/04/ultimate-ab-testing-resources/">Ultimate A/B Testing resources and how I used them (Brian Cray)</a></li>
<li><a href="http://sixrevisions.com/user-interface/an-introduction-to-website-split-testing/">An Introduction to Website Split Testing (Six Revisions)</a></li>
</ul>
<h2>Conclusion</h2>
<p>You should now be equipped to begin testing your site for potential improvements. Get started today and let us know in the comments below what section of your site you think A/B testing is most appropriate for. </p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/the-importance-of-ab-design-testing/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How to Build a Site With Keyboard Navigation: PSD to HTML</title>
		<link>http://designshack.net/articles/accessibility/how-to-build-a-site-with-keyboard-navigation-psd-to-html/</link>
		<comments>http://designshack.net/articles/accessibility/how-to-build-a-site-with-keyboard-navigation-psd-to-html/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 18:07:33 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=3658</guid>
		<description><![CDATA[Today we&#8217;ll be looking at how to add keyboard navigation to a website using a few simple lines of JavaScript. First we&#8217;ll create a simple site theme in Photoshop and then transform it into a working website that uses keyboard functions to switch pages. Here&#8217;s a screenshot of what we&#8217;ll be building. Click on the [...]]]></description>
			<content:encoded><![CDATA[<p class="lead">Today we&#8217;ll be looking at how to add keyboard navigation to a website using a few simple lines of JavaScript. First we&#8217;ll create a simple site theme in Photoshop and then transform it into a working website that uses keyboard functions to switch pages.</p>
<p><span id="more-3658"></span></p>
<p>Here&#8217;s a screenshot of what we&#8217;ll be building. Click on the picture to see the live example:<br />
<a href="http://designshack.net/tutorialexamples/keyboardnavigation/index.html">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/css-step2.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<h2>Photoshop Work</h2>
<p>To start things off, open Photoshop and create a new 800px by 600px document at 72dpi.</p>
<h3>Radial Gradient</h3>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/kn-step1.jpg" alt="screenshot" width="510"/></a></div>
<p>Next grab the gradient tool and stretch a radial gradient over the background. Your foreground color should be set to #343636 and your background color to #121414. Make sure the lighter color doesn&#8217;t run into the edges of the document or you&#8217;ll get a hard edge when we place it into our CSS.</p>
<h3>Type</h3>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/kn-step2.jpg" alt="screenshot" width="510"/></a></div>
<p>Now grab the type tool and choose a font. I chose Helvetica Neue. Type some text for your homepage like above, then copy that layer and change the type to read &#8220;About Me.&#8221; Repeat that step for &#8220;My Portfolio,&#8221; and &#8220;Contact Me.&#8221;</p>
<h3>Inner Shadow</h3>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/kn-step3.jpg" alt="screenshot" width="510"/></a></div>
<p>Now place an inner shadow on all the text layers you just created using the settings above. You can apply the effect to one layer, then right click and go to &#8220;copy layer style,&#8221; then right click on the other layers and paste the layer style. </p>
<h3>Navigation Key</h3>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/kn-step4.jpg" alt="screenshot" width="510"/></a></div>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/kn-step5.jpg" alt="screenshot" width="510"/></a></div>
<p>Now create a key to instruct users how to use the keyboard navigation feature. Using the same font, type out the text in blue and apply an outer glow to give it a nice, radiant effect. Look at the screenshots above for the specific settings. Be sure to leave some space in between parentheses for the arrows in the next step.</p>
<h3>Arrows</h3>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/kn-step6.jpg" alt="screenshot" width="510"/></a></div>
<p>Grab the custom shape tool (found under the rectangle tool fly out menu) and select an arrow as your shape. Draw four arrows (up, down, left, and right) and apply the same color and outer glow as the type. Now place the arrows in the parentheses from the previous step. </p>
<h3>Save the Four Versions</h3>
<p>Now go to &#8220;Save for Web &#038; Devices&#8221; under the file menu. Save out each version (Home, About, etc) as a jpg into a folder named &#8220;images.&#8221; Now we&#8217;re all done in Photoshop so close that out and move over to your favorite text editor or web development suite. I use the fantastic Mac application <a href="http://macrabbit.com/espresso/">Espresso</a>.</p>
<h2>The HTML</h2>
<p>Create an index.html file in the same directory as the images folder you create before. Add in a basic HTML structure that links to a CSS and JavaScript file.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #00bbdd;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;</span>
<span style="color: #00bbdd;">       &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">html</span> xmlns<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.w3.org/1999/xhtml&quot;</span> xml:<span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span> <span style="color: #000066;">lang</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;en&quot;</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
       <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">http-equiv</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
       <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">title</span>&gt;</span>Page Title<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">title</span>&gt;</span>
       <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;style.css&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #000066;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
&nbsp;
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">SCRIPT</span> <span style="color: #000066;">SRC</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;script.js&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">SCRIPT</span>&gt;</span>		
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">head</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

<h3>Adding a Navigation Menu</h3>
<p>We don&#8217;t want our site to run purely on keyboard navigation so we&#8217;ll add in a visual navigation menu as the primary method of getting around. To do this we&#8217;ll create a &#8220;nav&#8221; div inside a &#8220;container&#8221; div in the body portion of our HTML. Inside the nav div, place an unordered list of links like below.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;container&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;index.html&quot;</span>&gt;</span>Home<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;about.html&quot;</span>&gt;</span>About<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;portfolio.html&quot;</span>&gt;</span>Portfolio<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
				<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contact.html&quot;</span>&gt;</span>Contact<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span></pre></div></div>

<h3>Create the Other Pages</h3>
<p>As I said before, we want to keep the HTML in this tutorial simple so we&#8217;ll stop there for the homepage. Duplicate this code into three more html files: about.html, portfolio.html and contact.html. In each of these files, change only the name of the container div. In the about file, change it to &#8220;aboutContainer.&#8221; Follow suit with &#8220;portfolioContainer&#8221; and &#8220;contactContainer&#8221; in the other two.</p>
<h2>Adding the CSS</h2>
<p>You should now have four essentially blank web pages containing only a list of unstyled links. Create a style.css file and start it off with the following basic styling.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body <span style="color: #00AA00;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#121414</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">800px</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">&quot;HelveticaNeue-Light&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Helvetica Neue Light&quot;</span><span style="color: #00AA00;">,</span>
      <span style="color: #ff0000;">&quot;Helvetica Neue&quot;</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> Arial<span style="color: #00AA00;">,</span> <span style="color: #ff0000;">&quot;Lucida Grande&quot;</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
   <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">300</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Here we&#8217;ve essentially just set a background color (matching the background color of our PSD) and set the font-family to be a nice, thin Helvetica. Margin auto will make sure our content stays centered.</p>
<h3>Adding the Background Images</h3>
<p>Here&#8217;s where everything starts to look right. Style each of the four container divs to have the four backgrounds we setup in Photoshop.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&nbsp;
<span style="color: #cc00cc;">#container</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/background.jpg</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">600px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#aboutContainer</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/about.jpg</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">600px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#portfolioContainer</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/portfolio.jpg</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">600px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#contactContainer</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/contact.jpg</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">600px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>At this point your pages should be taking shape and look something like the image below:</p>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/css-step1.jpg" alt="screenshot" width="510"/></a></div>
<h3>Styling the Navigation Menu</h3>
<p>One last chunk of CSS will finish off the navigation menu.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#nav</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#nav</span> a <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ffffff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#nav</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#a2def9</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
ul <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">white</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
li <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>As you can see, I&#8217;ve applied some padding to the main nav div and removed any text-decoration from the link text. Then I set the text color to white and added a hover effect matching the color of the blue text in the &#8220;Nav Key&#8221; at the bottom of the page. Finally, I&#8217;ve added in few lines to specifically target the list items and spread them out a bit.</p>
<p>If you&#8217;ve followed along, your page should match the following screenshot:</p>
<div class="tutorialimage"><a href="http://onvo.co.uk/"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/css-step2.jpg" alt="screenshot" width="510"/></a></div>
<h2>JavaScript</h2>
<p>You should now have a basic, functioning four page site! The links in the navigation menu should allow you to switch between pages with relative ease. Now we will get into the heart of the project: adding keyboard navigation. It&#8217;s actually a fairly straightforward process and should only take you a few minutes at the most. Our JavaScript will be inspired by <a href="http://www.tutorialized.com/view/tutorial/Get-key-press-event-using-JavaScript/9689">this tutorial</a> but taken in a different direction.</p>
<h3>Setting up the Script</h3>
<p>Create a script.js file and insert the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">document.onkeyup = KeyCheck;       
&nbsp;
	function KeyCheck(e)
		{
		   var KeyID = (window.event) ? event.keyCode : e.keyCode;
&nbsp;
		   switch(KeyID)
		   {
&nbsp;
		   }
		}</pre></div></div>

<p>As you can see, this code is quite brief and very basic. Essentially, we tell JavaScript to run the function &#8220;KeyCheck&#8221; when the user presses a key. The KeyCheck function is then tied to the variable &#8220;KeyID.&#8221; This will watch what a user presses and set the value to KeyID. Now we&#8217;ll add in a line of code that tells it what to do if the KeyID matches a certain criteria.</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">document.onkeyup = KeyCheck;       
&nbsp;
	function KeyCheck(e)
		{
		   var KeyID = (window.event) ? event.keyCode : e.keyCode;
&nbsp;
		   switch(KeyID)
		   {
&nbsp;
		      case 49:
		      window.location = &quot;index.html&quot;;
		      break;
&nbsp;
		   }
		}</pre></div></div>

<p>This code is a bit confusing. As indicated on our navigation key, we want to program the numbers 1-4 and the arrow keys to jump to specific pages. Here we&#8217;ve setup a case that says: if the code &#8220;49&#8243; is returned, switch to the page index.html (through window.location). You&#8217;ve probably notice code 49 isn&#8217;t an intuitive way to refer to pressing the number one. To discover the key codes for a given key, go to <a href="http://unixpapa.com/js/key.html">this page</a> and scroll down to section 3.3. We see that the numbers 0-9 are referred to by the codes 48-57. Scroll down further and see that the arrow key codes are as follows: 37 (left arrow), 38 (up arrow), 39 (right arrow), 40 (down arrow). Using this set of codes as a guideline we can program each key press to correspond to a page.</p>

<div class="wp_syntax"><div class="code"><pre class="js" style="font-family:monospace;">document.onkeyup = KeyCheck;       
&nbsp;
	function KeyCheck(e)
		{
		   var KeyID = (window.event) ? event.keyCode : e.keyCode;
&nbsp;
		   switch(KeyID)
		   {
&nbsp;
		      case 37:
		      window.location = &quot;index.html&quot;;
		      break;
&nbsp;
		      case 38:
		      window.location = &quot;about.html&quot;;
		      break;
&nbsp;
		      case 39:
		      window.location = &quot;portfolio.html&quot;;
		      break;
&nbsp;
		      case 40:
		      window.location = &quot;contact.html&quot;;
		      break;
&nbsp;
		      case 49:
		      window.location = &quot;index.html&quot;;
		      break;
&nbsp;
		      case 50:
		      window.location = &quot;about.html&quot;;
		      break;
&nbsp;
		      case 51:
		      window.location = &quot;portfolio.html&quot;;
		      break;
&nbsp;
		      case 52:
		      window.location = &quot;contact.html&quot;;
		      break;
		   }
		}</pre></div></div>

<h2>Fin!</h2>
<p>That&#8217;s all there is to it! You should now be able to navigate your site using just the arrow and number keys as with the opening example. Use the comments below to let us know if you think this is a good idea and whether or not you&#8217;ll be adding keyboard navigation to your site. There&#8217;s definitely more than one way to go about it so also let us know any ideas you have for an alternate method of implementing the keyboard shortcuts.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/how-to-build-a-site-with-keyboard-navigation-psd-to-html/feed/</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>12 Accessibility Pitfalls to Avoid</title>
		<link>http://designshack.net/articles/accessibility/12-accessibility-pitfalls-to-avoid/</link>
		<comments>http://designshack.net/articles/accessibility/12-accessibility-pitfalls-to-avoid/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 18:22:09 +0000</pubDate>
		<dc:creator>Joshua Johnson</dc:creator>
				<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://designshack.co.uk/?p=3245</guid>
		<description><![CDATA[Usability isn&#8217;t an exact science. What one visitor considers helpful another considers annoying. Despite this uncertainty and complexity, you should always strive to make your site as accessible as possible to the people you&#8217;re trying to reach. You&#8217;ll find that a little bit of catering to the special needs of a minority of users can [...]]]></description>
			<content:encoded><![CDATA[<p class="lead">Usability isn&#8217;t an exact science. What one visitor considers helpful another considers annoying. Despite this uncertainty and complexity, you should always strive to make your site as accessible as possible to the people you&#8217;re trying to reach. You&#8217;ll find that a little bit of catering to the special needs of a minority of users can drastically improve the function of your site for all users. Here&#8217;s our list of twelve accessibility pitfalls to avoid along with some examples showcasing sites that either excel or fail miserably in these areas.</p>
<p><span id="more-3245"></span></p>
<h2>Captchas</h2>
<p><a href="http://depressedprogrammer.wordpress.com/2008/04/20/worst-captcha-ever/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/worstcaptchaever.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>Web developers sure seem to love captchas, but users can&#8217;t stand them. Grant it, they&#8217;re not all bad but most of them are either impossible to read or unnecessarily complicated like the one above. Another important issue is that captchas often represent a serious roadblock for the vision-impaired. If you absolutely must use a captcha, make sure most humans can read/understand it and have options in place for those users who are unable to see it. </p>
<h2>Not Using &#8220;alt&#8221; Attributes on Images</h2>
<p><a href="http://www.smashingmagazine.com/">
<div class="tutorialimage" style="width:338px;"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/smashinglogo.jpg" alt="screenshot" width="338"/></div>
<p></a></p>
<p>It&#8217;s definitely a good practice to always insert a helpful bit of <strong>alt</strong> text for the images on your site. This way users who are unable to view your images are represented with a text equivalent. Note that not all browsers treat the <strong>alt</strong> attribute the same way. Because of this many developers confuse the purpose of <strong>alt</strong> and <strong>title</strong>, mistakingly thinking that images with an <strong>alt</strong> attribute should display a tool tip. In reality, the <strong>title</strong> attribute is what should display a tip on mouse over (see the Smashing Magazine example above).</p>
<h2>Using Pop Ups for Content</h2>
<p><a href="http://help.yahoo.com/l/us/yahoo/music/launchcast/troubleshooting/trouble-popup.html">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/yahoo.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>Most modern browsers ensure that your content will be blocked if it comes in the form of a pop up. This means you&#8217;re running the risk of losing several possible users who simply move on when they realize that your site isn&#8217;t compatible with their setup. Only the most dedicated visitors will investigate the problem in your help pages to discover how to solve the problem. </p>
<h2>Improper Labels on Forms</h2>
<p><a href="https://wwws.mint.com/login.event?task=S">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/mint.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>Visit <a href="http://www.mint.com/">Mint.com</a> (shown above) and check out their sign up form. Notice that you can select a specific field whether you click on the field itself or on the attached label. This is because the Mint developers are using the <strong>label</strong> element properly. The lesson here is that simply labeling your forms with plain text isn&#8217;t enough. Instead, you should always use the <strong>label</strong> element to maximize usability. This not only provides easy-to-select fields, but also ensure that screen readers and auto-fill functions work properly with your forms. </p>
<h2>Unrecognizable Links</h2>
<p><a href="http://www.tutorial9.net/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/tut9.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>The screenshot above shows a section of the homepage of <a href="http://www.tutorial9.net/">Tutorial 9.</a> Notice that you can instantly differentiate between the text that contains a link and the text that doesn&#8217;t. Popular ways to create link differentiation include color contrast, underlines, and rollover effects. Notice that Tutorial 9 actually employs all three methods! This dramatically increases usability because users can clearly see where to click if they wish to access more content.</p>
<h2>Vague Link Text</h2>
<p>Consider the following examples:</p>
<p>1. To visit our CSS Gallery, <a href="http://designshack.net/gallery/">click here.</a><br />
2. Be sure to stop by our <a href="http://designshack.net/gallery/">CSS Gallery!</a></p>
<p>As you scan a page, your eyes are likely to focus on differentiated links more than the rest of the text because they stand out. The first example may seem like a good way to go because the call to action &#8220;click here&#8221; is what catches your eye. However, without properly reading the entire sentence, &#8220;click here&#8221; doesn&#8217;t inspire action because the user isn&#8217;t sure where it leads. In contrast, the second link can be instantly recognized and understood as a path to a CSS gallery, regardless of whether or not the user has read the content before it.</p>
<h2>Cluttered Content and Insufficient Spacing</h2>
<p><a href="http://thebiguglywebsite.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/ugly.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>The site above is really more of a parody than a proper example, but it gets the point across and was far too funny not to include. Put simply, don&#8217;t crunch your content together or include an outlandish amount of pictures or text (news stories and blog posts are exceptions). Small business owners just getting started on the web almost always fall prey to this mistake and include paragraph after paragraph of information that no one will ever read. Like it or not, the web is a visual beast. The information on your page should be clearly organized and easily understood within seconds. </p>
<h2>Changing Font Size Shouldn&#8217;t Break Layout</h2>
<p><a href="http://www.foxnews.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/fox.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>Not everyone on the web is a 19 year old with 20/20 vision. Many users, young and old, have to increase their default text size to make a page more readable. Check out what happens to <a href="http://www.foxnews.com/">Fox News</a> (and several other popular news sites) when you increase the font size. The layout is completely destroyed: the navigation links all run together, buttons are miles from their associated text and the ads running down the right side have disappeared completely. This sort of oversight can alienate a large portion of visitors.</p>
<h2>Poor Contrast Between Text and Background</h2>
<p><a href="http://www.inowweb.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/contrast.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>These guys may be toting their design skills but they&#8217;ve ruined their credibility by doing so with a graphic that&#8217;s nigh upon impossible to read. I understand that sometimes clients require you to use a stock photo with zero copy space, but it&#8217;s your job as a designer to figure out how to integrate easily readable text with the image. Use bold type, strokes, drop shadows, color bars and anything else you can think of to differentiate your message from its background.</p>
<h2>Overuse of Flash</h2>
<p><a href="http://www.bbdo.com/worldwide">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/flash.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>Don&#8217;t misinterpret  this as a Flash bashing mantra. Flash has brought the web to a level of richness that can make a developer&#8217;s wildest dreams come true. I am just as prone to being sucked in by an amazing and unique flash site as the next guy. However, use extreme caution when integrating Flash so much into your website that it won&#8217;t function without it. </p>
<p>Make sure you carefully consider the reason behind the site&#8217;s existence and your target market for the site. If you want to build an online application or eye candy for visitors, Flash may be the way to go. But if your target market is the general public, an all Flash site could be a bad idea for a number of reasons. The first is usability, Flash-based site developers can often be so obsessed with making something pretty that zero thought is put into whether a user can actually figure out how to use the site or not. I&#8217;ve noticed that big name ad agencies tend to follow this trend by making beautiful websites that can take minutes to figure out how to use. Another reason to avoid Flash is that many users are so annoyed by Flash that they disable it completely. Finally, always consider whether it&#8217;s acceptable to sacrifice mobile visitors. Many smartphones like the iPhone don&#8217;t yet support flash and are therefore shutout of many mainstream websites.</p>
<h2>Complicated Drop Down Menus</h2>
<p><a href="http://www.microsoft.com/">
<div class="tutorialimage"><img class="alignNone size-full wp-image-1611" src="http://designshack.net/wp-content/uploads/microsuck.jpg" alt="screenshot" width="510"/></div>
<p></a></p>
<p>There&#8217;s a fine line between a helpful menu and an overloaded mess and the developers at Microsoft are flirting with it. On one hand, they are providing users with easy access to their full line of products. On the other hand, they&#8217;re throwing a ton more content at users than they are used to in a simple drop down menu. This might be acceptable if clicking the &#8220;all products&#8221; button took you to a dedicated page containing the list of products, but that&#8217;s not the case (clicking only closes the menu). Spend a minute on their site and you&#8217;ll see that nearly all of the navigation menus are crammed full of small (arguably hard to read), monotonous links.</p>
<p>The point is that over populating menus usually springs from an attempt to increase usability while in reality resulting in decreased usability due to the inordinate amount of information that must be sifted through to get where you want to go. </p>
<h2>Conclusion</h2>
<p>So there you have it, twelve easy ways to make your site friendlier to the masses. I hope this article has helped you spot a few ways you can start improving the accessibility of your designs. Let us know what you think of these tips. Feel free to completely disagree on any or all of them and be sure to let us know about all the little things that bug you regarding accessibility.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/accessibility/12-accessibility-pitfalls-to-avoid/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>An Informative 404 Page</title>
		<link>http://designshack.net/articles/an-informative-404-page/</link>
		<comments>http://designshack.net/articles/an-informative-404-page/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 11:40:14 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[reporting]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=171</guid>
		<description><![CDATA[Classic 404 error pages are prone to being relatively useless. Whilst a well designed page can provide a means to find what they are looking for, wouldn&#8217;t it be great if you could find out more about what went wrong? This tutorial will show you how simple it is to have an explanatory email sent [...]]]></description>
			<content:encoded><![CDATA[<p>Classic 404 error pages are prone to being relatively useless. Whilst a <a href="http://designshack.net/tutorials/custom-404-error-page">well designed page</a> can provide a means to find what they are looking for, wouldn&#8217;t it be great if you could find out more about what went wrong? This tutorial will show you how simple it is to have an explanatory email sent to you whenever a visitor hits a 404 page.</p>
<p><span id="more-171"></span></p>
<h2>Getting Started</h2>
<p>The first thing is to implement a custom 404 error page. We&#8217;ve <a href="http://designshack.net/tutorials/custom-404-error-page">covered this before</a>, but it essentially involves adding the following to your root .htaccess file:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">ErrorDocument <span style="color: #CC0000;">404</span> http<span style="color: #339933;">:</span><span style="color: #006600; font-style: italic;">//www.yoursite.com/404.php</span></pre></td></tr></table></div>

<p>This will instruct all 404 error requests to be sent to the specified page rather than showing a default message.</p>
<h2>The PHP Code</h2>
<p>The following code needs to be customized and placed anywhere in your 404 php page:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span> 
<span style="color: #000088;">$myemail</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;insert your email address here&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$page</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$SERVER_NAME</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$REQUEST_URI</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$subject</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;404 Page Error&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$message</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;
     404 Page Error Report
     Visitor came from: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;
     Page not found: &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$page</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;
&quot;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$myemail</span><span style="color: #339933;">,</span><span style="color: #000088;">$subject</span><span style="color: #339933;">,</span><span style="color: #000088;">$message</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;From: 404errorpage&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>This will send you an email which will include (if possible) both the page which the user has been referred from, and the page or resource which couldn&#8217;t be found.</p>
<h2>Useful Applications</h2>
<p>Implementing this has a whole host of useful outcomes. However, the first thing to note is that (unless you have previously added these files), a rapid number of emails will arrive in relation to:</p>
<ul>
<li>favicon.ico</li>
<li>robots.txt</li>
</ul>
<p>It may well be worth adding these files in before implementing the page so that you aren&#8217;t inundated with notifications! This technique can be invaluable when designing a new site, to sift out any broken links which may have been overlooked before launch. It is even more useful when modifying an existing site structure, to ensure that current links to your site are not taking new visitors to missing pages. If this is the case, simple redirects can be added using .htaccess:</p>
<p><b>For a file:</b></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">RewriteRule file1.<span style="color: #660066;">php</span>$ file2.<span style="color: #660066;">php</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span></pre></td></tr></table></div>

<p><b>For a directory:</b></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">RewriteRule <span style="color: #339933;">^</span>oldfolder<span style="color: #339933;">/</span>$  newfolder<span style="color: #339933;">/</span> <span style="color: #009900;">&#91;</span>L<span style="color: #009900;">&#93;</span></pre></td></tr></table></div>

<p>After a while, you&#8217;ll find that the odd 404 error is due to someone mistyping a URL, or having linked to a genuinely non-existent page on your site. It wouldn&#8217;t be advisable to keep this code in place permanently, but for a few days or weeks after making significant changes it provides a fantastic fail-safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/an-informative-404-page/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Cross Browser Testing (PC)</title>
		<link>http://designshack.net/articles/cross-browser-testing-pc/</link>
		<comments>http://designshack.net/articles/cross-browser-testing-pc/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 16:49:38 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[cross]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=259</guid>
		<description><![CDATA[A sure sign of a rock solid, well coded CSS layout is that it displays consistently across browsers and platforms. A look at recent global browser stats shows that, while Internet Explorer continues to be the most popular web browser in general use, its user base is fairly evenly split between versions 6 and 7. [...]]]></description>
			<content:encoded><![CDATA[<p>A sure sign of a rock solid, well coded CSS layout is that it displays consistently across browsers and platforms. A look at <a href="http://www.thecounter.com/stats/2008/February/browser.php">recent global browser stats</a> shows that, while Internet Explorer continues to be the most popular web browser in general use, its user base is fairly evenly split between versions 6 and 7.</p>
<p>And although other browsers such as Firefox, Opera and Safari have a relatively small share of the browser market, it would be unwise for any web designer or developer to ignore them when testing their work.</p>
<p><span id="more-259"></span></p>
<h2>The need for testing</h2>
<p>The site shown below, for example, highlights the need for thorough cross browser testing. When viewed in Firefox, the site looks fantastic; but when viewed in Internet Explorer 6, the site looks broken, because of IE6&#8242;s lack of support for PNG alpha transparency (which does seem to have been catered for in the site&#8217;s code, but the solution chosen doesn&#8217;t seem to work), and also because of some positioning issues.</p>
<p><img src="/postimages/cross-browser-testing.jpg" alt="Cross Browser Testing for PC" /></p>
<p>Since cross browser testing for Mac has <a href="http://www.designshack.net/tutorials/cross-browser-testing-mac">already been covered</a> on Design Shack, this article will focus on methods for cross browser testing on PC. An obviously starting point for cross browser testing is to install each of the main browsers; the latest versions can be downloaded below:</p>
<p><a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx" title="download Internet Explorer" target="_blank"><img src="/postimages/ie-icon.jpg" alt="Internet Explorer" /></a> <a href="http://www.mozilla-europe.org/en/products/firefox/" title="download Firefox" target="_blank"><img src="/postimages/firefox-icon.jpg" alt="Firefox" /></a> <a href="http://www.opera.com/download/" title="download Opera" target="_blank"><img src="/postimages/opera-icon.jpg" alt="Opera" /></a>  <a href="http://www.apple.com/safari/download/" title="Download Safari" target="_blank"><img src="/postimages/safari-icon.jpg" alt="Apple Safari" /></a></p>
<h2>Internet Explorer</h2>
<p>However, it&#8217;s not quite so straightforward when it comes to testing your work in both Internet Explorer 6 and 7. By default, Windows will only run one version of IE, and while this obviously isn&#8217;t much of an issue for the average web user, it&#8217;s more problematic for web designers and developers who need to ensure that their work displays correctly in both versions. One option for overcoming this (if you&#8217;re running Windows XP) is to use the <a href="http://tredosoft.com/Multiple_IE" title="Multiple IE" target="_blank">Multiple IE installer by TredoSoft</a>. This ingenious tool allows several standalone versions of Internet Explorer to run simultaneously on the same PC, making multiple version testing very straightforward.</p>
<p><img src="/postimages/multipleie.jpg" alt="Multiple IE" /></p>
<p>Another option, which doesn&#8217;t involve installing anything on your PC, is to use an online rendering service such as <a href="http://ipinfo.info/netrenderer/index.php" title="IE NetRenderer" target="_blank">IE NetRenderer</a>. Here you simply enter the URL of the page to be tested, select which version of IE you want to test it in, and NetRenderer renders a screenshot for you. The downside of this is that you only get a static screenshot, making it impossible to test dynamic features such as AJAX UI enhancements. Additionally, NetRenderer only renders down to the &#8216;fold&#8217;, so if you have a particularly long page it may not be of much use to you.</p>
<p><img src="/postimages/ie-netrenderer.jpg" alt="IE NetRenderer" /></p>
<h2>Safari</h2>
<p>In my experience, installing Multiple IE is a far more foolproof way of testing web pages across multiple versions of Internet Explorer on PC. However, when it comes to testing for other browsers on other platforms, such as Apple Safari on Mac OS X, the only real way of testing locally is to buy a Mac. A much cheaper (as in free) alternative is to use another online rendering service; this time it&#8217;s <a href="http://www.browsrcamp.com/" title="BrowsrCamp" target="_blank">BrowsrCamp</a> which renders screenshots of web pages as displayed in Safari running on Mac OS X.</p>
<p><img src="/postimages/browsr-camp.jpg" alt="BrowsrCamp" /></p>
<p>While there are many other browsers available across the various platforms, the browsers covered here are the ones in mainstream use, and as such should all be factored into every web designer and developer&#8217;s testing phase when laying out web content. And when you&#8217;ve finished making your latest design cross-browser-proof, be sure to <a href="http://www.designshack.net/submitasite.php">submit it</a> to our gallery.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/cross-browser-testing-pc/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Custom 404 Error Page</title>
		<link>http://designshack.net/articles/custom-404-error-page/</link>
		<comments>http://designshack.net/articles/custom-404-error-page/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 13:12:40 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[page]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=441</guid>
		<description><![CDATA[The standard 404 error page can often be really frustrating for readers. Using a simple .htaccess file can allow you to customise your error page, and ensure that users are displayed a useful alternative. How to redirect the user You need to create a .htaccess file, using any standard text editor. Copy and paste the [...]]]></description>
			<content:encoded><![CDATA[<p>The standard 404 error page can often be really frustrating for readers. Using a simple .htaccess file can allow you to customise your error page, and ensure that users are displayed a useful alternative.</p>
<p><span id="more-441"></span></p>
<h2>How to redirect the user</h2>
<p>You need to create a <code>.htaccess</code> file, using any standard text editor. Copy and paste the following code &#8211; substituting the path for your local 404 html page:</p>
<pre>
ErrorDocument 404 http://www.yoursite.com/404page.html
</pre>
<p>Once you&#8217;ve done that, you are ready to go. Here are a few ideas of things to include in your 404 page:</p>
<ul>
<li>A search box</li>
<li>A link back to the homepage</li>
<li>The same CSS and graphics as the rest of the website</li>
<li>A website index or map</li>
</ul>
<p>Get creative, make the user feel that they have an alternative route to find what they are looking for, and you&#8217;ll vastly improve their experience on your website!</p>
<h2>Imaginative 404 Pages</h2>
<p>To get inspiration, take a look at some other 404 pages. You&#8217;ll be surprised what you&#8217;ll find!</p>
<p><a href="http://wufoo.com/404/"><img src="http://www.designshack.net/postimages/404page1.jpg" alt="Custom 404 Error Pages" /></a></p>
<p><a href="http://www.last.fm/404"><img src="http://www.designshack.net/postimages/404page2.jpg" alt="Custom 404 Error Pages" /></a></p>
<p><a href="http://technorati.com/404"><img src="http://www.designshack.net/postimages/404page3.jpg" alt="Custom 404 Error Pages" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/custom-404-error-page/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Cross Browser Testing (Mac)</title>
		<link>http://designshack.net/articles/cross-browser-testing-mac/</link>
		<comments>http://designshack.net/articles/cross-browser-testing-mac/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 13:23:56 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[crossbrowser]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internetexplorer]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=459</guid>
		<description><![CDATA[Many web professionals use Apple&#8217;s OSX for design and despite what you may think, it&#8217;s not difficult to test your website in the big three browsers &#8211; Internet Explorer, Firefox and Safari. This article talks you through how to easily test your site and gain access to these browsers on a Mac. Safari Let&#8217;s start [...]]]></description>
			<content:encoded><![CDATA[<p>Many web professionals use Apple&#8217;s OSX for design and despite what you may think, it&#8217;s not difficult to test your website in the big three browsers &#8211; Internet Explorer, Firefox and Safari. This article talks you through how to easily test your site and gain access to these browsers on a Mac.</p>
<p><span id="more-459"></span></p>
<h2>Safari</h2>
<p><img src="/postimages/safari.jpg" alt="Safari Browser Testing"  /></p>
<p>Let&#8217;s start with the easiest one. Safari is the browser bundled with Apple&#8217;s OSX operating system. It recently became available for Windows as well. Both copies can be downloaded from <a href="http://www.apple.com/safari">Apple</a>.</p>
<p>Testing on Safari for Mac is exactly the same as testing Safari for Windows &#8211; they are built on the same engine, and your website will look the same on both. The only difference may be the variation in fonts, as some are available on OSX but not Windows and vice versa. The best way to test this is to look at your site in another Windows browser such as Internet Explorer (see below).</p>
<h2>Firefox</h2>
<p><img src="/postimages/firefox.jpg" alt="Firefox Browser Testing"  /></p>
<p>Again, this is fairly straight forward. <a href="http://www.getfirefox.com">Firefox</a> is freely available for both Windows and Mac. Testing on one is more or less the same as testing on the other. Some controls (i.e. form submit buttons, search fields etc) may look slightly different on Mac or Windows versions.</p>
<p>It is also worth testing your website on <a href="http://www.camino.org">Camino</a> &#8211; a Mac browser based on Firefox.</p>
<h2>Internet Explorer (IE)</h2>
<p><img src="/postimages/ie.jpg" alt="Internet Explorer Browser Testing" /></p>
<p>We&#8217;ve left the trickiest until last. Microsoft no longer make IE for Mac, so you need to find a way to run Windows on your Mac to test in this browser. You have two options. The first is to use Apple&#8217;s Boot Camp to install a copy of Windows on your Intel Mac &#8211; you boot into that to test your website in XP/Vista. The problem with this is that it requires you to reboot your machine every time you want to test your site&#8230; not ideal!</p>
<p>The second option is to use <a href="http://www.parallels.com">Parallels Desktop</a>, which allows you to run a virtual copy of Windows inside OSX. This is easier, as you can simply run IE alongside all your Mac development applications and make changes as you test. It&#8217;s the only piece of software in this article which isn&#8217;t free, but well worth the money for the time it saves.</p>
<p>Have fun ensuring that your website looks good in each browser, and when you&#8217;ve finished remember to <a href="/submitasite.php">submit your site to us</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/cross-browser-testing-mac/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Basics of Semantics</title>
		<link>http://designshack.net/articles/the-basics-of-semantics/</link>
		<comments>http://designshack.net/articles/the-basics-of-semantics/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 13:15:37 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[semantics]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=445</guid>
		<description><![CDATA[Semantics is a word which strikes fear into many a designer&#8217;s heart, but it need not be a difficult or complicated topic. It concerns meaningful expression, avoiding presentational markup and using appropriate and meaningful tags where possible. Essentially, designing and writing HTML code in a semantic way is as simple as keeping your HTML concerned [...]]]></description>
			<content:encoded><![CDATA[<p>Semantics is a word which strikes fear into many a designer&#8217;s heart, but it need not be a difficult or complicated topic. It concerns meaningful expression, avoiding presentational markup and using appropriate and meaningful tags where possible.</p>
<p>Essentially, designing and writing HTML code in a semantic way is as simple as keeping your HTML concerned with the content of the page and not the layout. Some of the simple steps below will help you to ensure that you stay semantically pleasing to search engines, spiders and visitors:</p>
<h2>Title tag</h2>
<p>Ensure that your page title tag is descriptive and meaningful. Ensure that it changes for each page of your site to reflect the content on that page.</p>
<h2>Headings</h2>
<p>It&#8217;s possible to define your page&#8217;s headings with div and span tags, but that doesn&#8217;t convey any meaning that it is a heading. Using h1 to h6 tags to differentiate and style the headings on your page is much better.</p>
<h2>Tables and Forms</h2>
<p>By default, tables and forms are not very semantic and can be very general. They also lack accessibility for those using non-standard browsers. For tables, ensure that you use the thead tag to explain the columns of your table. For forms, adhere to using the label tag to describe what each input, checkbox etc is there for.</p>
<h2>Images</h2>
<p>It seems like it gets said over and over again, but use alt attributes for all your images to ensure that they are described within the page content &#8211; both for the benefit of search engines and disabled users.</p>
<h2>Seems straight forward&#8230; but why?</h2>
<p>Using semantic code won&#8217;t make your website look any different and it won&#8217;t directly benefit your readers in any way. One direct effect you may see is that search engines spider your website in a more correct and effective way.</p>
<p>Also, semantic coding is paving the way for the future. New devices, software and applications will be around in the next 5, 10, 100 years that still use the content on the web to power them. Semantics set the standard which future systems will adhere to and interpret, so future proof yourself!</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/the-basics-of-semantics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ten Tips for Accessible Websites</title>
		<link>http://designshack.net/articles/ten-tips-for-accessible-websites/</link>
		<comments>http://designshack.net/articles/ten-tips-for-accessible-websites/#comments</comments>
		<pubDate>Wed, 30 May 2007 13:37:44 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[accessible]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[disability]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=488</guid>
		<description><![CDATA[We all know that building accessible designs is important, but how many of us really take it into account when crafting a site? Here are some simple and effective steps for making your site accessible for everyone. 1. Validate your XHTML and CSS Validating your code can often lead you to discover problems which you [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that building accessible designs is important, but how many of us really take it into account when crafting a site? Here are some simple and effective steps for making your site accessible for everyone.</p>
<h2>1. Validate your XHTML and CSS</h2>
<p>Validating your code can often lead you to discover problems which you didn&#8217;t notice before. Things such as unclosed and mis-typed tags which look fine in your browser, but could cause problems when viewed by others. The main two tools you need to use are a <a href="http://validator.w3.org/">XHTML Validator</a> and a <a href="http://jigsaw.w3.org/css-validator/">CSS Validator</a>.</p>
<h2>2. Add alternative text for images</h2>
<p>Not everyone has images turned on in their browser, and many people use text-to-speech programs as they suffer from sight problems. Providing alternative text for images through the <code>alt</code> attribute ensures that images have a description and can be made sense of by visitors. It also helps you site when being indexed by search engines.</p>
<h2>3. Make sure your site works without JavaScript</h2>
<p>As with images, many people browse with JavaScript turned off (almost 6% at the time of writing). This is a fairly high number, and it&#8217;s worth ensuring that your website functions correctly without JavaScript. Relying too heavily on it can alienate certain people in your audience.</p>
<h2>4. Use CSS to seperate content and formatting</h2>
<p>As a website which showcases and promotes the use of Cascading Style Sheets, it&#8217;s not surprising to see them mentioned here. Using CSS keeps your pages clean from formatting, and ensures that browsers are able to add their own rules to make pages higher contrast and more easily viewed.</p>
<h2>5. Provide a high contrast style sheet</h2>
<p>Why not make a second style sheet for your website which reduces or removes the colour, and makes everything higher contrast. Place the link to activate this style near the top of the page so that hard of sight users can see benefit from the content on your website.</p>
<h2>6. Ensure link text is descriptive</h2>
<p>Rather than simply writing &#8220;click here&#8221; or &#8220;read more&#8221;, make your links more descriptive. We all fall into this trap from time to time, but a meaningful link can be understood much more easily and improves accessibility.</p>
<h2>7. Add &#8220;Skip to content&#8221; links on pages</h2>
<p>Rather than making people scroll down past the repetitive header on every page of your website, include a link which allows them to skip to the main content lower down the page. This saves time, especially on text-to-speech browsers which read out all the information on the page.</p>
<h2>8. Ensure every form has label tags</h2>
<p>Correctly labeling the inputs on your forms will allow them to be interpreted and filled in much easier by accessible browsers.</p>
<h2>9. Don&#8217;t open links in a new window</h2>
<p>Whilst it&#8217;s tempting to link to other websites in a new window, it really is bad practice. Everyone knows how to use a &#8220;Back&#8221; button, but when the need arises to close windows and keep track of several at once many web users can be confused and annoyed.</p>
<h2>10. Make an accessibility statement</h2>
<p>Having a statement on one page of your website will show people what accessibility features you offer, and explain how they can navigate around your site easily. Explain how to turn on your high contrast style sheet, and where your &#8220;Skip to content&#8221; links are. People will be grateful for you explaining it to them clearly.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/ten-tips-for-accessible-websites/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>What Is Web Accessibility?</title>
		<link>http://designshack.net/articles/what-is-web-accessibility/</link>
		<comments>http://designshack.net/articles/what-is-web-accessibility/#comments</comments>
		<pubDate>Tue, 15 May 2007 13:38:47 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[accessible]]></category>
		<category><![CDATA[disability]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://localhost:8888/?p=492</guid>
		<description><![CDATA[Everyone needs to have an idea of what web accessibility is, and how they can make their site available to everyone. It&#8217;s not just about catering for disabled users, but to anyone with a web connection. Ignoring web accessibility is shooting yourself in the foot, alienating large numbers of potential readers. The basics The idea [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone needs to have an idea of what web accessibility is, and how they can make their site available to everyone. It&#8217;s not just about catering for disabled users, but to anyone with a web connection. Ignoring web accessibility is shooting yourself in the foot, alienating large numbers of potential readers.</p>
<h2>The basics</h2>
<p>The idea behind web accessibility is ensuring that everyone, regardless of their platform, browser or personal situation can easily browse your website. This often (but not always) involves the need for the following things:</p>
<ul>
<li>High contrast versions of your pages being available</li>
<li>Alternate text being placed on links and images</li>
<li>Links being appropriately named, for those with text-to-speech browsers</li>
<li>Testing your site without Javascript and CSS turned on</li>
<li>Providing appropriate META data</li>
</ul>
<h2>It&#8217;s not just about disability&#8230;</h2>
<p>Obviously, designing our websites with disabled users in mind is an important task, and something we shouldn&#8217;t take lightly. But the fact is that web accessibility applies to so many other areas as well. If you&#8217;re browsing websites on your iPhone, 3G Phone or even WAP mobile, you&#8217;d better hope that the designer considered accessibility when putting the site together. Nowadays, people can browse the internet on a TV or game console, kiosk machine, handheld computer, or even a fridge! Ensuring your designs are accessible mean that you don&#8217;t prevent these people from visiting your site.</p>
<h2>&#8230;but that&#8217;s also important!</h2>
<p>Disabled users struggle when accessing websites for many reasons. Those who have sight problems won&#8217;t be able to pick out your intricate colour scheme, so providing an alternate &#8211; high contrast &#8211; CSS document will allow them to see your site clearly. Distinguishing links may also be a problem, so providing clear roll-over effects makes it obvious what can be clicked.</p>
<p>For the same reason, text-to-speech browsers are available which read out the contents of a web page to the visitor. Using ALT text for images and clearly labeling links is vital here, so that someone can navigate your website without actually having the visual elements.</p>
<p>People commonly also struggle to use a mouse and keyboard easily, and so use voice controlled browsers and software.</p>
<h2>Accessibility statistics</h2>
<p>According to <a href="http://www.w3schools.com/browsers/browsers_stats.asp">W3Schools</a>, around 6% of web users have Javascript turned off in their browser, or use a browser which doesn&#8217;t support it. This alone is enough of a reason to consider what your website looks like without Javascript, or other technologies such as CSS, Multimedia, Flash etc.</p>
<blockquote><p>In May-June of 2001, about 38% of adults with disabilities used the Internet at home, compared to about 56% of adults without disabilities, a gap of 18 percentage points. In December 1998, about 7% of adults with disabilities used the Internet at home, compared to about 26% of adults without disabilities, a gap of 19 percentage points. In that 2.5 year period, the rate of home Internet use increased by more than 400% among persons with disabilities ( from 7% to 38%), compared to about 200% among persons without disabilities (from 26% to 56%). If the Internet use by persons with disabilities continues at the same growth rate, it should match the Internet use of the non-disabled in a few years.</p>
<p>(*Source: National Organization on Disability, 2001)</p></blockquote>
<p>This excerpt from <a href="http://www.imtc.gatech.edu/csun/stats.html">CSUN</a> shows that a large percentage of disabled people do use the internet, and that it is continuing to grow yearly. In the USA, around <b>7 percent</b> of internet users are registered as having some form of disability. It&#8217;s vital not to forget about this section of your audience, and consider accessibility in design.</p>
]]></content:encoded>
			<wfw:commentRss>http://designshack.net/articles/what-is-web-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 830/976 objects using disk: basic

Served from: designshack.net @ 2012-02-10 05:10:17 -->
