![]() ![]() Nothing revolutionary, just some nice styles to please the eye of the beholder. We add margins and paddings to the various blocks, nice link colors and hover effects, and asubtle color shading for the form. We might add three overall s, one to enclose the navigation, one to enclose the content, and one to enclose the form. The form consists of input fields and labels. Headers and paragraphs contain the main article, hyperlinks and their container(s) form the navigation. The page contains a bunch of links for navigation, an article about a book as the main content, and finally a short form for ordering the book.Īll this content should be marked up as simply as possible. Let’s create an accessible, simple page for, say, an online bookstore. Web page layers full#We’ll find a few simple, general rules that can help us keep a site accessible while allowing full scope to JavaScript’s power. In this column I’d like to take a look at the relationship between the JavaScript behavior layer and the structural and presentation layers. In my opinion JavaScript can form a valuable addition to an accessible Web site, as long as we take a few precautions. This abuse has given JavaScript a bad name. The average DHTML site is not very accessible, to put it mildly, and the countless “revolutionary” interfaces turned out not to be very interesting or useful, except for highlighting the cleverness of their programmers. Many sites used JavaScript for presentation only, for instance in ubiquitous and ultimately boring DHTML interfaces. ![]() In the past JavaScript has been much abused, mainly because people misunderstood its purpose. Now that Web developers have a solid grip on the XHTML structural and CSS presentation layers, it’s time to consider the JavaScript behavior layer and especially its accessibility. Share your comments on this topic with other web professionals ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |