Many Faces of TimRSS Icon

5 Accessible and pretty CSS tips

Hi there, this post was originally on Venture Skills blog which is now defunct, but I have moved it over here to save it from vanishing forever. However I haven't done anything other then copy and paste so their maybe formatting or broken links. Also note comments will be switched off by default on these posts

We are in the last few bits of the new site and while designing it a major focus has been on accessibility and not just for search engines. For us accessibility is built into the design its about reaching as many people as possible and giving as many people as we can the chance to read about our work and to enjoy our highly entertaining blog posts (no really they are). In European countries the various EU and country specific laws are pretty rigid and all web designers should by now be familiar with WAI Level 1 & 2 and be reaching and exceeding these standards as the norm. One of the major criticisms is that by following the standards you are left with dry boring sites, this just is not true! you can still have amazing sites and we are going to show you 5 neat tips to make your standards compliant site look just as good as it always did.

Declaring external links

One of the areas many web designers fall foul on in reaching WAI level 2 compliance is in the declaration of links both internally but more importantly to declare an external link as such. Max Design show a very simple method of showing an external link as an icon, which degrades to text, making it highly accessible. Screenshot of example of Max design CSS in action http://www.maxdesign.com.au/presentation/external/ This technique can also be used to show other objects (such as links to pdf's, word documents etc) or more importantly to video and other visual elements.


Read More, more

Again this CSS script assists reaching level 2 compliance by allowing you to declare a full title (keyword sensitive) but visually just showing the ubiquitous read more, it works well with the tip above. For the Venture Skills site we modified the CCK teaser file, to repeat the teaser title on all read more links (not particularly complicated, and even easier in contemplate)Screenshot of read more tip in action http://www.knusperpixel.com/playground/more-more-links.php


Variable font size

This is an odd one, its not really an accessible script, and it's also something that's done by the browser, but I find that the browser can't scale up or down text and keep the wrapping the same. The script uses a Javascript controller to switch between the various CSS, if implementing this on a larger site then its worth placing your text based css in a separate sheet from the layout and make multiple calls, this way you won't be recalling the whole script each time you reload. Screenshot of varying size stylesheet change http://www.deltatangobravo.com/images/zoom/


Accessible rollovers

Rollovers certainly look nice, but often are very un-accessible to people who are not seeing the visual effects, these simple rollovers combine pixys fast rollovers with Stuart Langridge’s accessible image replacement. While perhaps a little more complicated then many rollovers to implement, they still look good, and degrade well. Rollover screenshot example http://www.simplebits.com/notebook/2003/09/30/accessible_imagetab_rollovers.html


Accessible and pretty forms

Developing forms is a nightmare, developing accessible forms requires time and patience, without the visual clues a screen reading software has to rely on the structure defined by the form is correct. This tutorial guides you through creating semantically correct forms and then visually styling them. It is without doubt the most important article in this post and one that should be read by every web designer/developer who ever has to design and develop a form.  Screenshot of CSS based form http://alistapart.com/articles/prettyaccessibleforms Once you have mastered the methodology you can then go on to create some impressive form layouts, it took some doing but for one part of the new site we have a form based around Sky Rockets 3 column layout. Screenshot of 3 column semantic form


5 Great CSS tips

5 great looking tips to help you keep your site looking stylish while still making it accessible what css tricks do you use to keep your site looking both good and standards compliant? Get our Content via RSS feed using Feedburner


Subscribe to The Venture Skills Blog by Email

PodcastAll our Posts are audio subscribed for more information see here, and to access the podcast feed here

AddThis Social Bookmark Button


RSS icon This blog is moving soon, make sure you move with us by using our Feedburner RSS feed, if you have used the autodiscovery button in your browser you may need to swap feeds, simply delete the old feed and add, http://feeds.feedburner.com/VentureSkills For a more detailed explanation on feeds and recieving our content in various formats click here

Quickly Linking?

If you want to link to this post quickly please use: http://tnash.eu/t423

alternativly use one of these services Tiny URL | bit.ly |is.gd

RSS feed

14 Comments

Comment by Matt Keegan
2007-05-05 23:40:48
Matt Keegan avatar

Admittedly, I am a N00B when it comes to CSS. If there is a nice looking open source template that I can snag, I go for it and make minor modifications to give it my own look. I will have to take a closer look at the WAI requirements and learn all that I can to make my sites compliant. I can understand the need to make everything uniform and the requirements do make each page look much more attractive too.

 
Comment by Venture Skills Team
2007-05-06 09:59:47
Venture Skills Team avatar

Hi Matt, to get started you may find the webXact tool useful it brings up issues surrounding privacy and accessibility of specified pages http://webxact.watchfire.com/

 
Comment by socialorb
2007-05-06 16:13:26
socialorb avatar

Thank you for this!

 
Comment by Venture Skills Team
2007-05-06 17:17:35
Venture Skills Team avatar

Your welcome Social Orb :)

 
Comment by Webice
2007-05-06 22:25:12
Webice avatar

Thanks for the tips. To check your site for WCAG AAA and Section 508 you can use cynthia or from the firefox browser automaticaly with web developer extension

 
Comment by Truque
2007-05-08 13:54:22
Truque avatar

That’s great! I always get crazy with the differences between navigators

 

Responses to this post:

Sorry, the comment form is closed at this time.

Tim Nash consulting