Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: HTML Forms Forms Accessibility Tutorial

There are a number of tags and tricks (some from HTML 4.0) that you can combine to make your forms easy to use for all readers.

Tutorial Details:

HTML Forms Forms Accessibility Tutorial
Many readers find HTML forms quite difficult to deal with, what with all the different elements to fill in. There are a variety of methods you can use to guide your readers through a complicated form. Make sure you?ve read through the basic forms tutorial before tackling this.

Most of these new accessibility aids were brought in in HTML 4.0 , and so you?ll need a modern browser like » Firefox for them to work, although they won?t mess up older browsers, so they?re completely safe to use.
tabindex

You should know by now that you can navigate forms using your tab key (above caps-lock), pressing it to move between parts. Usually the focus will move sequentially between elements as they appear in the source code, but this may not always be the ideal sequence. For instance, you might want to skip over optional items and focus the user on the next required item. With the tabindex tag you can set an order of your choosing. It?s easy to implement, but the effects can be very helpful.

This is a very presentable way of grouping your form elements together into logical categories . Users will appreciate forms that are distilled this way as their progress is more visible because they can see sections being completed.
The fieldset tag creates the boxes, and the legend tag creates the caption. Here?s the code for the first box:
< fieldset >
< legend >1: Personal Information
Name
Email


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
HTML Forms Forms Accessibility Tutorial

View Tutorial:
HTML Forms Forms Accessibility Tutorial

Related Tutorials:

XML JavaBeans, Part 1 - JavaWorld February 1999
XML JavaBeans, Part 1 - JavaWorld February 1999
 
Advanced form processing using JSP
This article examines the processing of a user registration form using JSP and JavaBeans while implementing the Memento design pattern.
 
Deliver cellular messages with SMS - JavaWorld March 2001
Deliver cellular messages with SMS - JavaWorld March 2001
 
Pushlets: Send events from servlets to DHTML client browsers
Pushlets: Send events from servlets to DHTML client browsers
 
Boost Struts with
Boost Struts with XSLT and XML
 
A first look at JavaServer Faces, Part I
A first look at JavaServer Faces, Part Learn how to implement Web-based user interfaces with JSF
 
Code Improvement Through Cyclomatic Complexity
Code Improvement Through Cyclomatic Complexity Software metrics often receive negative criticism, as they are viewed as an exact science, uniformly applicable to all scenarios. True, software metrics are an unbiased, objective measurement of a particul
 
eva/3 Application Builder supports eclipse 3
What is eva/3 Application Builder? eva/3 Application Builder assumes responsibility for the design of forms and reports via an integrated GUI Builder, the execution of procedures and the handling of diverse relational SQL databases through JDBC int
 
Improve on Javadocs with ashkelon
Improve on Javadocs with ashkelon Sun's Javadocs provide us with automatically generated, hyperlinked documentation of fields, methods, classes, interfaces, and inner classes. They are helpful in many ways, but you will soon develop a wish list that incl
 
Slimdog
Slimdog SlimDog offers a simple script based webapplication testing tool. It is based on httpunit. The tool offers a wide range of commands to work with forms, check the content of tables and navigation between HTML pages.
 
Advanced form processing using JSP
Processing HTML forms using servlets, or more often, CGI scripts, is one of the most common operations performed on the Web today. However, that JavaServer Pages (JSPs) can play a significant role in sophisticated form processing is a little-known secret.
 
Servlet Essentials
This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a ...
 
JSP Tutorial
Adding dynamic content via expressionsAs we saw in the previous section, any HTML file can be turned into a JSP file by changing its extension to .jsp. Of course, what makes JSP useful is the ability to embed Java. Put the following text in a file wit
 
Just Forms PDF library
The JustFormsPDF library is a Java class library for filling or editing interactive PDF forms on-the-fly. Empower your applications with the industry-standard PDF forms technology using JustFormsPDF.
 
Open Source Web Frameworks in Java
Open Source Web Frameworks in Java Open Source Web Frameworks in Java Struts Struts Frame work is the implementation of Model-View-Controller (MVC) design pattern for the JSP. Struts is maintained as a part of Apache Jakarta project and is open
 
Introduction to the JSP Java Server Pages
Introduction to the JSP Java Server Pages Welcome to JSP Section Introduction To JSP Java Server Pages or JSP for short is Sun's solution for developing dynamic web sites. JSP provide excellent server side scripting support for creating database
 
Using Taglib in JSP. A brief introduction to taglibs and taglibs programing.
Using Taglib in JSP. A brief introduction to taglibs and taglibs programing. JSP TAG LIBRARIES JSP Tag Libraries : JSP’s offer a unique feature of “Tag Libraries”. Simply put, these are custom defined JSP tags. They are basically meant for
 
Brief Introduction to the Web Application development
Brief Introduction to the Web Application development Brief Introduction to the Web Application development Gone are the days of serving static HTML pages to the world. Now a days most website serves the dynamic pages based on the user and their
 
Struts Validator Framework Tutorial with Example
Struts Validator Framework Tutorial with Example Struts HTML Tags Struts Validator Framework This lesson introduces you the Struts Validator Framework. In this lesson you will learn how to use Struts Validator Framework to validate the user
 
Sanssouci is a Java framework for autogenerating fancy Swing-GUIs via introspection.
Sanssouci is a Java framework for autogenerating fancy Swing-GUIs via introspection which display objects directly to the user
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.