My favorites | Sign in
Project Logo
             
Code license: Apache License 2.0
Labels: css, qa, debug, accessibility, test, html
People details
Project owners:
  jens.meiert

Important: Version 1.0 of the QA style sheet used an background image hosted on Google Code to inform about updates. This does not work reliably due to Google Code forcing files to be downloaded. Please update to version 1.1 which fixes this problem and also adds a status indicator (“QA check done”).


The QA style sheet highlights specific HTML problems like use of deprecated elements, inaccessible images, layout tables, empty elements, or styling-related maintenance issues. Theoretically, it is “unobtrusive” in a sense that when everything’s fine it won’t cause any visible changes.

3 Ways to Use the QA Style Sheet

  1. Use it on demand as a bookmarklet: Add the bookmarklet or favelet, respectively, to your bookmarks and access it when needed. When customizing the style sheet better compress it, generate a new bookmarklet, but make sure to add %20newSS.id%20=%20'x-qa'; to the bookmarklet code to avoid false positives when it comes to style sheet references on a page (this assumes you’re keeping the #x-qa selector in the QA style sheet too).
  2. Use it permanently as a user style sheet with your browser (userContent.css for Gecko browsers). For more information please see documentation at CSS-Discuss or at About.com. It’s easy though.
  3. Temporarily import the style sheet in your project’s default style sheet. Do not forget to remove the style sheet reference after testing.

User Agent Support

The style sheet is supported differently across browsers as it makes some use of CSS 3 selectors, and when it comes to warnings for images, at least Internet Explorer might display errors that must not necessarily be there. To get the most of the QA style sheet test respective pages with recent releases of Firefox, Safari, Chrome, or Opera.

Background and Design Considerations

While Eric Meyer once published a comparable style sheet, this QA style sheet has a slightly different scope. It spots the following problems, indicated in yellow (warning) and red (error) assuming a modern browser:









Hosted by Google Code