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

Chapter 6. Working with Frames > Making Frames Accessible with noframes

Making Frames Accessible with noframes

One of the most important considerations when designing with frames is, as mentioned earlier, ensuring that individuals who cannot use frames, such as the blind or mobility-impaired, still have access to important information on a website. One of the ways to achieve accessibility in a framed site is to employ the noframes element. This is placed in the frameset element. Critical information can then be provided at the same URL as the frameset page, and an entirely accessible site can be formed by using the same pages as the framed site (see Example 6-13 and Figure 6-9).

Example 6-13. Making frames accessible with noframes

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
<html xmlns="http://www.w3.org/1999/xhtml">

<title>Frames with NOFRAMES Element</title>

<frameset cols="200*">
<frame src="menu.html" marginheight="5" marginwidth="5" noresize="noresize" 
scrolling="auto" />
<frame src="main.html" name="right" marginheight="9" marginwidth="9" 
noresize="noresize" scrolling="auto" />

<p>Welcome. We're happy to provide this non-frames access to our
Web site. If you prefer to view our site using frames, please
upgrade your browser to a recent one that fully supports frames.
Otherwise, please visit our <a href="index_noframes.html">
non-framed</a> version of this site.</p>





Not a subscriber?

Start A Free Trial

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