Meta-data support

Prerequisites
Browsers that are subjected to this test should support HTML's metadata attributes.

By the way -- hello to all the Mozilla folk who are looking at this right now! :-)

title

Every element has a title attribute, that should be accessible to the user. In fact, this paragraph has its title attribute set - does your browser let you access it?

This is documented in section 7.4.3 of the HTML4 specification:

Values of the title attribute may be rendered by user agents in a variety of ways. For instance, visual browsers frequently display the title as a "tool tip" (a short message that appears when the pointing device pauses over an object). Audio user agents may speak the title information in a similar context. For example, setting the attribute on a link allows user agents (visual and non-visual) to tell users about the nature of the linked resource [...].

lang

Français. The user should be able to find out what language elements are said to be in. For example, this entire document is marked as being in english, and the first word of this paragraph is marked as being in french.

This is documented in section 8.1 of the HTML4 specification.

A

The A element has a hreflang attribute indicating what language the target document is in. It also has two other attributes for giving the relationship between the document and the target: rel and rev. These should be accessible along with all the other related attributes (eg, href, lang and title).

The following link has the following information specified: language, target language, target uri, title, relationship to the document, relationship from the document. Browsers should make this information available to users.

(with apologies for any harm done to other languages used above)

BLOCKQUOTE and Q

The BLOCKQUOTE and Q elements have a cite attribute that contains a uri to a resource containing the original document that is being quoted. From section 9.2.2 of the HTML4 spec:

cite = uri

The value of this attribute is a URI that designates a source document or message. This attribute is intended to give information about the source from which the quotation was borrowed.

The browser should, somehow, allow you to go to the section of the spec quoted in the paragraph above. The simplest way on graphical browsers would be to provide a context-sensitive menu option (in english: right clicking on the blockquote should allow you to jump to the cited document).

In addition, the spec says: Visual user agents must ensure that the content of the Q element is rendered with delimiting quotation marks. You should be able to jump to the spec from the quoted italic bold and green sentence in this paragraph.

Note: If this browser supports the Q element, then the quoted sentence should have been both in italics, bold green, and quoted. If it is in italics (and bold green) but not quoted then there is an error: the browser is recognising the Q element but not quoting it, in direct violation of the specification. Do not take this error into account when submitting results.

INS and DEL

The INS and DEL elements have two attributes containing data that should be accessible: cite and datetime. (In addition, of course, to the title and lang attributes.)

This was inserted. This paragraph should somehow be styled in such a way as to indicate that it has been inserted. For example, it could be underlined in green.

This was deleted. This paragraph should somehow be styled in such a way as to indicate that it has been deleted. For example, it could be struck out in red.

In the two paragraphs above, you should be able to access the content of the title attribute, the date and time at which the insertion/deletion took place, and you should be able to jump to the section of the spec which defines INS and DEL.

Submit Results

If you submit either of the middle two options, please explain which metadata attributes were shown and how in the comment field. Thanks.

How does your browser fare on this test?


Up to the Evil Tests Page.

Bugzilla: Bug 1995

Last updated in May 1999.