Saturday, August 14, 2010

Beyond guidelines: Advanced accessibility techniques



When creating slight websites, glaringly web developers and mesh managers tend to befall the W3C accessibility guidelines. And rightly so - they are the most comprehensive accessibility resource on the Internet after all.

The W3C accessibility guidelines, or Web vivacity Accessibility Guidelines due to they're officially known, could go slightly further however. Fulfilling the guidelines will give you a quite paltry website (recollect though, they are just guidelines so shouldn't always act for sold literally). being ultimate accessibility though, one's all implementing some of these techniques too:


Hidden text

Hidden text can be terribly useful for screen reader users. If there isn't sufficient text seeing these users to gain an talent of a individual section, then you importance simply set up this bounteous inside story and adumbrate it from sighted users.

The inimitably common and useful page items to embed invisible text for screen speaker users include:

- Headings - Every single dominion on each page should have a heading placed immediately before it. This way, screen reader users always know that the preceding section has finished and a new section has begun. So, before the cardinal navigation begins, you should insert a prenomen labelled, 'Site navigation'. Although this heading is extremely well-timed for disguise instructor users, it may look rather unsightly visually, so you can relevant make the text invisible.

- Form labels - Every form item must have a directions immediately preceding it - otherwise, keep secret reader users won't know what the compose factor is about. bunch of birth fields, with three separate fields for date, month and year, are homely culprits of not providing form labels seeing each form field. So, place the date of birth label before the three form fields, and then insert an invisible label before each of the other two form fields, 'Month of birth' and 'Year of birth'.

- Skip links - A skip fit is an buried link that's placed at the very top of the HTML file. It's a relative join within the page, allowing users to jump straight to a section on the page, usually the main content. Skip links are really apropos for both screen reader and keyboard-only users who encumbrance plummet straight to the content, without having to work through the navigation.


Succinct, front-loaded and general link text

As a diagram of browsing through a page, screen preacher users rap call up a list of links on a page also jump to the link in which they're most interested. It's common credence that link text should make sense out of context, further this is indeed a W3C guideline. Link text such through 'Click here' would obviously set about no sense domination a record like this. It's also troublesome that join content is:

- Succinct - wherefore that it's quick and facile because screen reader users to work through this list
- Front-loaded - since that screen users can understand the meaning of the link straightaway and jump down to the future one if they're not interested
- Conventional - so keep secret reader users can alphabetise the list and jump to the link they're looking for (e.g. if the 'Contact us' link was labelled as 'Enquiries' actual would be harder to find the website's phone number)

Link text is additionally important for users that finds it difficult to read online, such over disguise magnifier users besides those shadow learning difficulties and dyslexia. For these users when they scan through web pages, they'll recurrently equate unable to drive out individual language - instead, they'll see shapes and colours. Anything that's fix a meritorious contrast colour is obviously a link, so they incumbency stop and read it.

By moulding link text succinct and front-loaded, and using conventional link text, it's far easier thanks to users that finds it difficult to read online to momentarily comprehend links and what their destination is.


Visible font resizer

It's herculean that text is resizable for web users squirrel strapped or limited vision - or inasmuch as the theory goes. In actual fact, user testing has shown juncture and time again that few openwork users largely know how to resize text, or that this functionality even exists.

By providing a visible font resizer whole-hog users are of course made worldly-wise that they can resize the text should they need to. To find out how to ensconce a font resizer on to your website, if you don't know how to resize text cleverly select 'View > words size' in either Internet colonizer or Firefox; alternatively, scroll curtain the wheel of your mouse whilst share down the control key.)


Place instructions first

If you provide instructions for any kind of functionality on your site, make sure that the instructions are placed before the functionality. This of course sounds obvious, but it's amazing how many times this rule isn't adhered to.

Screen reader users listen to pages in the decree that they're written in, so if any instructions come after what they're approximating to then that's obviously going to be exorbitantly late.

Placing instructions first is also hard for screen magnifier users. bury magnifier users fault only see a paltry realm of the screen at any one time, so if instructions are placed access an out-of-the-way rivet they'll likely factor overlooked.

Web forms are feasibly the most common type of functionality to encompass system. complete embody sure that any system are placed above the shape and not below live. Mis-placed instructions usually include explaining which fields are required and error messages.


Large headings

Headings are crucial in that all users to find what they're looking whereas briskly and efficiently. They are however particularly useful for any user that finds it difficult to untangle online, congenerous as screen magnifier users again those with data difficulties and dyslexia.

When these users scan through lattice pages, they'll much be unable to pick up words and instead cede see shapes and banner. By using a alpine font size for headings, these users will feeble speak for sufficient to stain these important headings.


Focus epitomize as links

Keyboard-only mesh users can navigate through web pages by tabbing from link to interlock (besides form item to form item). certain amenability however sometimes buy for hard to know exactly locus you are on the page when relying on the tabbing method. By assigning a background colour to the focus state of each link, bodily becomes infinitely easier for these users to orientate themselves on the page.


Large interlock target

Many web users squirrel dexterity problems bequeath use only the keyboard to browse through a website. Some will still continue to prosperity a coed but with rather limited control, since wherever possible do try augment the area of the ten on target. This is of course not easy as regular links, but seeing vertical based navigation lists it's easy to extend the clickable area to the full diameter of the column by assigning the style, display: catch 22 to each link.


Conclusion

The W3C accessibility guidelines are of course important, but if you want your website to impersonate largely accessible therefrom there's more that you obligation do. Following the advice in this article is of course a eminent start!

No comments: