'alt' text rendering not clearly defined

http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/bidi-alt-001.htm

This test case is not clearly defined in the specification.

CSS 2.1 Conformance: Requirements and Recommendations, 3.1 [1] states that replaced elements are outside the scope of the CSS formatting model. This means that if 'alt' text is treated as a replaced element then the case is incorrect.

If we look at the HTML 4.01 specification, section 13.8 [2], it states that 'alt' text when rendered should be rendered as content. From this definition it puts the 'alt' text into a different category in section 3.1 [1] of the CSS specification. The "Content" definition states that it "may include text" then continuing on further... The "Rendered content" definition states that "Rendered content may also be alternate text for an element ...". Because of the use of the word "may" it makes this test case optional based on the definition of MAY in the RFC2119 [3].

The test case needs to be removed or updated to allow it to pass if styles do not apply to 'alt' text.

[1] http://www.w3.org/TR/CSS21/conform.html#defs
[2] http://www.w3.org/TR/html401/struct/objects.html#adef-alt
[3] http://www.ietf.org/rfc/rfc2119.txt

--
Thanks,
Arron Eicholz

Received on Tuesday, 3 March 2009 01:59:09 UTC