Why use Semantic Forms
Semantic Forms introduced
Semantic forms mean something to devices that offer a web user interface. A form collects user input and validates it. HTML forms can say “Enter Your Birthday” and humans will understand it but machines don’t. A semantic form changes that. Semantic forms
- give devices control over what form elements are deployed
- deliver usability to a multitude of users on a multitude of devices
- are simpler and take less time to build than traditional HTML forms
Traditional HTML Form
To collect a birthday with a “traditional html form” you need to decide on the form element. HTML is a markup language so you are saying to the computer – display this box – it’s none of your business what is being typed in – you just give it to me and I will worry about validating it.
Devices Sporting a Web User Interface
Cutting the device out of the loop was fine when the web was viewed solely with PC Web browsers. But look at how many devices that can now offer up your site to a user.
- SmartWatches, SmartPhones, Surfing in Cars
- Nintendo Wii, Sony Playstation, The XBox
- TV – you surf the web with a remote control
- Devices for sight challenged and disabled users
- Devices in Spain, in China, in Brazil, in France
The principal behind semantic forms goes something like this.
The “device” knows the user better than you! It knows what tools they have for input and the constraints placed on the output. The device also knows the users inclination – a child, perhaps disabled. So instead of dictating to the device – telling it what markup to use – you should tell the device what you are trying to achieve/
So with semantic forms the rules are
- you don’t dictate the markup (checkbox, input box, select field)
- instead you state at a higher level what you are trying to achieve
- you worry about your services and devices worry about the UI details
form element decision – tick
So whats the meaning of all of this? With semantic forms this is the question the device asks You! So instead of sprinkling markup all over the place you embellish your web page with meaning.
Right now when you build a web page you rudely say to the machine “Display an input box then inform me of what is typed in. I will validate it.”
When you go with semantic forms you say to the interface, collect me a date. Now the interface gets to choose how it will go about doing this.
validation – tick
A date in the future can’t be a birthday. Use semantic forms and liberate yourself from the chains of petty validation.
internationalization – tick
In Spain the decimal point is a comma, and the thousands separator is a dot like this 2.456,87 – but in the UK it’s reversed like this 2,456.87. If you tell the device that you want a monetary value – it will take care of the presentation and the basic validation not just in different countries, but in whatever region of whatever country.
productivity – tick
For a HTML web form to appeal on 5 different device types would take you 5 times as long. But throw in 5 types of human – using braille, or with impaired motor skills and so on – that’s 25 times as long. In 5 different languages, like Arabic right to left, Mandarin top to bottom, this character set, that monetary symbol – now your page takes 125 times longer to get right.
I know what you are thinking. You want to wait till your website hits it big then you can pay others to worry about usability.
But why compete with 2 billion websites. Make your pages usable today by the visually impaired and their contribution alone puts your site onto page 1 of Google. Semantic forms are not back burner material, they are fire lighting rocket fuel material.
Semantic forms are not back burner material, they are fire lighting rocket fuel, help you go super novae material.
Semantic Forms – Do you catch my drift?
Go semantic to optimize the display against the view technology. Much validation is inferred within the semantics and this further increases productivity. The web page interface will be age appropriate, internationally known, locally accessible, better indexed and cataloged by the likes of Google.
Do you catch my drift? If you do surf into semantic web forms.