Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
KNOCKOUTJS BLUEPRINTS

You're reading from   KNOCKOUTJS BLUEPRINTS Learn how to design and create amazing web applications using KnockoutJS

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781783980840
Length 218 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Carlo Russo Carlo Russo
Author Profile Icon Carlo Russo
Carlo Russo
Arrow right icon
View More author details
Toc

Updating the code to be accessible


In this section, we are going to create a widget to substitute the code for the gender field.

Before going with the code, let's see what you should know about accessibility.

A few words about accessibility

Before starting with the code, I just wanted to point out to you some information about accessibility.

You can find the most important guidelines for accessibility at these URLs:

Tip

I found the easiest way to build an accessible web application is by following the hints found at the Google I/O 2011 presentation:

  • Use clean HTML and use standard tags whenever possible

  • Manage focus

  • Add key handlers

  • Add ARIA for screen readers

Remember also to download and use additional software (such as the ones you can find at: http://www.w3.org/WAI/ER/tools/) to check the code you write for the accessibility.

Tip

These are some tools I suggest you use:

  • ChromeShades, Wave Toolbar, and HTML_CodeSniffer...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image