Accessible Tabbed Navigation

acess-tabs.jpgIn this tutorial we will create a simple tabbed navigation. These tabs allow resizing, and text changing for people with vision problems, and high/low resolution monitors. These tabs also only use 1 image, and unobtrusive HTML and CSS code, lets get started!

First off we’ll start off with our image. We only have to use one image with the technique, the advantages to this is that your browser only has to send one request for the image, and saves bandwidth, and lowers load times. Another reason for one image is that it is bigger wide, and tall, so that when resizing text you don’t get any cutoff images or broken looking pages.

Now for the code, below the the CSS code we are using for the navigation. Here it is:

Now that we have our CSS, lets move on to the HTML code we will use. It is just a simple Unordered List with span tags inside.

And thats it! You can view the demo here, and you can download all the files used here.

Leave a comment