W3CWeb Accessibility Initiative Home

BACKGROUND-IMAGE in the STYLE element

On this page: Test 1 | References | About these tests

Nearby: More HTML 4.01 Tests | UAAG 1.0 Test Suite

UAAG 1.0 Requirement

Checkpoint 3.1 Toggle background images (Priority 1 )
Provision 1 : Allow configuration not to render background image content.

Test 1 :

Procedure

  1. Toggle background images to not be displayed.
  2. Reload the page and determine if background images are rendered.

Run test

(Test code contained within the HEAD element.)

Expected results

  1. When background images are not rendered, user agents should render a solid background color instead.
  2. If background images are turned off, the user agent may make available to the user associated conditional content.

Source code

<style type="text/css">
body {background-image: url(../images/test-background.gif)}
</style>

References

  1. HTML 4.01 specification for STYLE
  2. CSS 2 specification for BACKGROUND

About this test suite

This test is part of a test suite for the User Agent Accessibility Guidelines (UAAG) 1.0 . This work is conducted by the User Agent Accessibility Guidelines Working Group , which is part of W3C's Web Accessibility Initiative (WAI) . Please send comments on this test to w3c-wai-ua@w3.org ( public archive ).


Test created by:

Last modified: $Date: 2003/04/02 23:46:34 $ by $Author: jongund $