Web Development
Web Developer Guidelines
Visual Design Recommendations

Checkpoint 2.1 - XML/XSLT

Use external stylesheets and do not use inline styles

XML Accessibility Guidelines

Guideline 2: Create semantically-rich languages

The cascading nature of CSS stylesheets means that inline styles take precedence over embedded styles and externally referenced stylesheets. Inline styles create redundancy and increase maintenance by putting style in multiple places throughout the web site. This requires more attention to maintenance and can lead to style omissions and errors. It also hinders the use of global stylesheets and user-specified stylesheets.

Requirement

Only allow the use of external CSS stylesheets. Do not allow embedded styles or inline styles in the XML grammar.

Information Source

The original source of this information is located on the W3C web site  (www.w3.org/TR/xag#cp2_1)

 

Back to top