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"       http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> ...

Get Spring Into HTML and CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.