Electronic Books
WHAT'S HOT
PARTS:
Part 21
Part 22
Part 23
Part 24
Part 25
Part 26
Part 27
Part 28
Part 29
Part 30
Part 31
Part 32
Part 33
Part 34
Part 35
Part 36
Partners
Prev
|
Current Page 481
|
Next
Kevin Potts
"Web Design and Marketing Solutions for Business Websites"
For a form this small, the
tag is somewhat redundant
with the button, so including it is up to the developer??™s discretion; it does not affect
the functionality if left out.
Chapter 3 discussed how HTML junkies and accessibility pundits emphasize the importance
of the search box coming first in the tab index order, regardless of whether it??™s the first
link or form control on the page. To ensure that this happens, the tag for the input field in
the example includes a tabindex attribute.
Finally, a search form should always include an actual button for submission. While it is
possible to create a buttonless form that relies solely on pressing Enter to activate the
search, this is not advised. It may not be clear to users that they need to press an additional
key after typing their query. The actual button should be left as a proper HTML form
control, as shown in Figure 11-4. People are comfortable with a browser??™s default HTML
button, and deviating too far from the standard can result in confusion. (If an alternative
element like an image must be used, make sure it contains actual words??”like ???search?????”
not a nondescript arrow.
Pages:
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
Inside LightWave v9 (page 731)
Pro SQL Server Disaster Recovery (page 427)
Tapestry 5: Building Web Applications (page 518)