• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Forms > Grouping Related Fields

Grouping Related Fields

Two other XHTML form elements that recognize the use of nonvisual browsers are the <fieldset> and <legend> elements. <fieldset> enables you to group related form fields together in a logical group, and <legend> enables you to assign descriptive text to the group of fields. Neither of these might seem necessary on a standard visual browser, but for a visually impaired user with a speech-based browser, these extra features make a form much more usable.

Note

One advantage of using <fieldset> grouping on a visual browser is that it facilitates tabbing through the form field. After the browser knows about a group of fields, it can tab you through the fields in sequence.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint