| Title | var element used to mark up code that does not only contain variables |
|---|---|
| Description | A document with some Java code. The section String[] args is marked up as a variable, even though only the last part, args is really a variable. |
| Creator | BenToWeb (evlach@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-28 |
| Status | accepted QA |
Technologies are markup languages or data formats. If the technology is a markup language, “features” refers to elements and attributes.
XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)
Feature: var
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: Phrase elements: EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and ACRONYM .
The test case is intended to fail because of incorrect use of semantic tag used to convey information.
Check whether semantic markup is used correctly.
Accessibility expert.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case fails the following success criterion at line 13, column 29: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#content-structure-separation-programmatic.
Incorrect use of semantic tag used to convey information.
The semantic tag should contain only the Java variable ("args").
This test case does not map to a WCAG 2.0 technique or failure.
The test case fails the following success criterion at line 13, column 29: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#content-structure-separation-programmatic.
Incorrect use of semantic tag used to convey information.
Online version: sc1.3.1_l1_148.