Search results

Term entries in the full glossary matching "conditional content"

W3C Glossaries

Showing results 1 - 1 of 1

conditional content

From User Agent Accessibility Guidelines 1.0 (2002-12-17) | Glossary for this source

Conditional content is content that, by format specification, should be made available to users through the user interface, generally under certain conditions (e.g., based on user preferences or operating environment limitations). Some examples of conditional content mechanisms include: The alt attribute of the IMG element in HTML 4. According to section 13.2 of the HTML 4 specification ([HTML4]): "User agents must render alternate text when they cannot support images, they cannot support a certain image type or when they are configured not to display images."OBJECT elements in HTML 4. Section 13.3.1 of the HTML 4 specification ([HTML4]) explains the conditional rendering rules of (nested) OBJECT elements. The rules select among ordered alternatives according to user preferences or error conditions.The switch element and test attributes in SMIL 1.0. Sections 4.3 and 4.4, respectively, of SMIL 1.0 [SMIL] explain the conditional rendering rules of these features.SVG 1.0 [SVG] also includes a switch element and several attributes for conditional processing.The NOSCRIPT and NOFRAMES elements in HTML 4 [HTML4] allow the author to provide content under conditions when the user agent does not support scripts or frames, or the user has turned off support for scripts or frames.Specifications vary in how completely they define how and when to render conditional content. For instance, the HTML 4 specification includes the rendering conditions for the alt attribute, but not for the title attribute. The HTML 4 specification does indicate that the title attribute should be available to users through the user interface ("Values of the title attribute may be rendered by user agents in a variety of ways...").Note: The Web Content Accessibility Guidelines 1.0 requires that authors provide text equivalents for non-text content. This is generally done by using the conditional content mechanisms of a markup language. Since conditional content may not be rendered by default, the current document requires the user agent to provide access to unrendered conditional content (checkpoints 2.3 and 2.9) as it may have been provided to promote accessibility.

The Glossary System has been built by Pierre Candela during an internship in W3C; it's now maintained by Dominique Hazael-Massieux

Copyright © 2000-2003W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.