<?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>Web Dev News &#187; W3C Standards &#8211; News for Web Developers</title>
	<atom:link href="http://webdevnews.net/tag/w3c-standards/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdevnews.net</link>
	<description>News For Web Developers</description>
	<lastBuildDate>Sat, 06 Nov 2010 18:22:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Site Design For Accessibility &#8211; 15 Rules</title>
		<link>http://webdevnews.net/2009/01/site-design-for-accessibility-15-rules/</link>
		<comments>http://webdevnews.net/2009/01/site-design-for-accessibility-15-rules/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 15:25:34 +0000</pubDate>
		<dc:creator>SiteBusinessZone</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[Semantic Web Standards]]></category>
		<category><![CDATA[Semantic Web W3C]]></category>
		<category><![CDATA[W3C Standards]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://webdevnews.net/?p=349</guid>
		<description><![CDATA[Why is accessibility important? Legal issues: in today’s internet orientated society care must be taken to ensure websites are not discriminative against impaired users such as the blind or partially sighted. Building websites which may be considered discriminative could lead to law suits which obviously we want to avoid. Maximizing audience: the more accessible a [...]<p>This is a post from <a href="http://webdevnews.net" title="News for Web Developers">Web Dev News</a>, a site brought to you by <a href="http://xavisys.com" title="For all your web development needs">Xavisys Web Development</a>.  <br/><br/><a href="http://webdevnews.net/2009/01/site-design-for-accessibility-15-rules/">Site Design For Accessibility &#8211; 15 Rules</a></p>
]]></description>
			<content:encoded><![CDATA[<h2><strong>Why is accessibility important?</strong></h2>
<p><strong>Legal issues</strong>: in today’s internet orientated society care must be taken to ensure websites are not discriminative against impaired users such as the blind or partially sighted. Building websites which may be considered discriminative could lead to law suits which obviously we want to avoid.</p>
<p><strong>Maximizing audience</strong>: the more accessible a website is the larger the potential user base, simple as that.</p>
<p><strong>Maximizing potential for profit</strong>: the larger the potential user base is, the larger the potential customer base is.</p>
<p><strong>Search engine compatibility</strong>: generally speaking a more accessible website is going to be easier for a search engine to index then an inaccessible website.</p>
<p><span id="more-349"></span></p>
<h3><strong>The 15 first rules for accessibility:</strong></h3>
<p><strong>1. Write good source code</strong></p>
<p>This is not necessarily required to build an accessible website but I feel it is a very important element of good site design so I’ve put it at the top of the list. Clean, well formatted code can save hours of headache, make it easier to find problems when something is wrong and provide a much stronger base for implementing accessibility changes and additions.</p>
<p>A good code structure often reduces the number of lines of code, meaning your pages will load quicker and use less bandwidth.</p>
<p>Weather it be XHTML, HTML, PHP , JavaScript or Cling-on, well written code is the foundation of any accessible site.</p>
<p><strong>2. Use comments well</strong></p>
<p>Good use of comments should be used to supplement well written source code. Comments should be concise and well written as they made end up being read by another developer or to an end user by a screen reader.</p>
<p>It is also advisable to remove any silly comments which may have been entered into your source code before release as they may cause confusion down the line.</p>
<p><strong>3. Use a sensible page layout</strong></p>
<p>This is just common sense really, there is no point having your main content in a narrow column along the left with a menu underneath and a bunch of images dotted about the page. Make sure your layout makes logical sense and your visitors can find what they are looking for without trying too hard. If a user can’t quickly discern navigation and main content they will leave.</p>
<p><strong>4. Do not rely on visual elements (colors/images/video) to convey information</strong></p>
<p>This point is obvious; if half your information is presented in images a blind user with a screen reader will miss half your information. Try to use text and CSS styling as much as possible in place of images, video and color information.</p>
<p>General Rule: Use visual content only as long as it does not contain information required to understand the content of the web page.</p>
<p><strong>5. Separate styles and content!!</strong></p>
<p>Separate your websites into styles and content, CSS and (X)HTML. This is important for well formatted code, ease of development and so that users with screen readers don’t have to listen to the styling of each object on a web page.</p>
<p><strong>6. Give links context + titles</strong></p>
<p>When creating a link try to create a meaningful caption for it, further more try to provide a label for the link.</p>
<p><strong>DO:</strong></p>
<pre class="brush: html">&lt;a href=”TideChart.php” title=“Tide Chart”&gt;View our tide chart&lt;/a&gt;</pre>
<p><strong>DON’T:</strong></p>
<pre class="brush: html">Tide Chart: &lt;a href=”TideChart.php”&gt;click here&lt;/a&gt;</pre>
<p><strong>7. Use user-friendly URLs</strong></p>
<p>Try and make your URLs follow a memorable pattern which makes sense to a human user.</p>
<p><strong>DO:</strong></p>
<p>http://www.site.com/en/plaster-board/large/index.html</p>
<p><strong>DON’T:</strong></p>
<p>http://www.site.com/en/pb/l/index.html</p>
<p><strong>8. Use device independent scripts</strong></p>
<p>You should be aware that not all users have a mouse, so if you are using triggers such as onmousedown you may wish to consider an alternative or you could use onmousedown in combination with onkeydown.</p>
<p><strong>9. Use CSS instead of scripts for menus</strong></p>
<p>Whatever you are thinking of using a script for on your menu be sure you can’t do it using CSS. A menu which uses JavaScript will cease to function properly if the visitor doesn’t have JS enabled.</p>
<pre class="brush: css">
#menu a {
	display:block;
	color:#791E27;
	text-decoration:none;
	font-size:1.1em;
	cursor:pointer;
}
#menu a:hover {
	display:block;
	color:#fff;
	background-color:#D92026;
	text-decoration:none;
	font-size:1.1em;
	font-weight:bold;
	cursor:pointer;
}
</pre>
<p>Remember you can easily create drop down, pop-up and fly out menus using just CSS and (X)HTML. Just do a good search.<br />
<strong><br />
10. Use aural CSS</strong></p>
<p>If you think your site is likely to be read by someone with a screen reader there are some elements you can define in your CSS which effects the screen reader’s settings.<br />
Some of these are voice-family, volume, richness, stress, cue-before, cue-after, pause.</p>
<p><strong>11. Provide a ‘skip to content’ button at the start of the page</strong></p>
<p>It is very common for websites these days to have a header and a menu at the start of every page. This means that users with a screen reader have to listen to your header and menu every time they go to a new page.</p>
<p>The solution to this is a ‘skip to content’ button or link at the start of the page. The link can be hidden using CSS.</p>
<pre class="brush: html">&lt;a href=”#main_content” title=”main content” class=”hidden”&gt;Skip to main content&lt;/a&gt;</pre>
<p>Alternatively you could use an image containing only the background colour in the top left of the page to be your link.</p>
<p><strong>12. Provide main menu access keys and an accessibility page</strong></p>
<p>Access keys allow people to access your menu items using a keyboard short cut, great for people will no mouse.</p>
<pre class="brush: html">&lt;a href=”index.html” title=”home” accesskey=”h”&gt;&lt;em&gt;H&lt;/em&gt;ome&lt;/a&gt;</pre>
<p>Note: I have surrounded the H in the &lt;em&gt; element which would be styled in CSS to make the H stand out.</p>
<pre class="brush: css">
em{
font-style:italic;
}</pre>
<p>Create a site info page which lists the access keys on your site. This is where I also put my W3C validation badges.</p>
<p><strong>13. Check the finished product with no CSS enabled</strong></p>
<p>Disable your style sheet somehow and make sure your layout and content still makes sense. Get someone who hasn’t seen your styles-enabled site to do this too.</p>
<p><strong>14. Validate HTML + CSS</strong></p>
<p>Use W3C validators for (X)HTML and CSS, valid code ensures compatibility and the validation process will probably help you pick up any silly errors you previously missed.</p>
<p><strong>15. Use relative sizes and positioning</strong></p>
<p>Using relative sizes and positioning allows visitors to see your whole page regardless of their screen size/resolution/browser window size. Use EMs for font sizes, and % for page element sizes.</p>
<p><strong>Things to avoid</strong></p>
<p><strong>1. Frames</strong></p>
<p>Frames and iframes are a bad idea when it comes to accessibility because screen readers can often find it difficult to determine which frame is the main frame and focus can become confused.</p>
<p>Frames can also cause problems with book marking and the accuracy of URLs.</p>
<p><strong>2. Pop-ups</strong></p>
<p>Pop-ups are annoying and most users won’t see them anyway as most modern browsers have pop-up blockers.</p>
<p><strong>3. Automatic refreshes and automatic re-directs</strong></p>
<p>These are no good for accessibility. “this page will be redirected in 5 seconds”, what if the user can’t read that message in 5 seconds?</p>
<p><strong>4. Placing distractions and un-related content on your website</strong></p>
<p>Flashing text, random images and scrolling elements can be annoying as well as distracting for your visitors, meaning they don’t focus on the important content of your site, and probably end up leaving.</p>
<p>This is a post from <a href="http://webdevnews.net" title="News for Web Developers">Web Dev News</a>, a site brought to you by <a href="http://xavisys.com" title="For all your web development needs">Xavisys Web Development</a>.  <br/><br/><a href="http://webdevnews.net/2009/01/site-design-for-accessibility-15-rules/">Site Design For Accessibility &#8211; 15 Rules</a></p>
]]></content:encoded>
			<wfw:commentRss>http://webdevnews.net/2009/01/site-design-for-accessibility-15-rules/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

