| Version | Aktuell |
|---|---|
| BITV-Bedingung | 11.2 |
| Bewertungsalternativen | ja / eher erfüllt / eher nicht erfüllt / nein |
| Gewichtung | geringes Gewicht (1 Punkt) |
| Abwertung | keine Abwertung möglich |
| Bezieht sich auf | einzelne Webseite |
| Prüfschritt erfüllt | In HTML 4.01 als veraltet eingestufte Elemente und Attribute werden nicht verwendet. |
Elemente und Attribute, die in HTML Version 4.01 als überholt (deprecated) definiert sind, sollen nicht verwendet werden. Überholt ist zum Beispiel das font-Element.
Ebenfalls nicht verwendet werden sollen Elemente, die niemals einer Spezifikation angehörten.
Das Konzept von HTML verändert sich, es wird weiterentwickelt. Elemente werden als überholt definiert, weil sie zum veränderten Konzept nicht mehr passen.
HTML Version 4.01 zielt auf die strikte Trennung von Inhalt und Darstellung. Elemente und Attribute, die einer solchen Trennung entgegenstehen, wurden als überholt definiert. Eine Webseite, die auf (in Version 4.01) überholte Elemente und Attribute verzichtet, folgt zumindest formal dem Ziel der Trennung von Inhalt und Darstellung.
Der Prüfschritt ist immer anwendbar.
Basis der Bewertung von Elementen und Attributen als überholt (deprecated) ist HTML Version 4.01.
Überholte Elemente sind:
applet, basefont, center, dir, font, isindex, menu, s, strike, u
Generell überholte Attribute sind:
alink, background, bgcolor, clear, compact, hspace, language, link, noshade, nowrap, prompt, start, text, version, vlink, vspace
Nur für bestimmte Elemente überholte Attribute sind:
align (für alle Elemente außer col, colgroup, tbody, td, tfoot, th, thead und tr)border (für die Elemente img und object)height (für die Elemente th und td)size (für das Element hr)type (für die Elemente li, ol und ul)value (für das Element li)width (für die Elemente hr, th, td und pre)Ebenfalls überholt, weil nie spezifiziert sind:
blink, marqee
target kann mit HTML und XHTML Strict nicht mehr benutzt
werden, name kann mit XHTML Strict nicht benutzt werden. Sie sind jedoch nicht überholt im Sinne dieses Prüfschritts.
alink, background, bgcolor, link, text, vlink, alignDie Verwendung von Funktionen, die durch die Herausgabe neuer Versionen überholt sind, ist zu vermeiden.
http://www.bik-online.info/info/gesetze/bitv/anlage_1.php#11-2
Vermeiden Sie überholte Features von W3C-Technologien.
Zum Beispiel: Vermeiden Sie in HTML das überholte FONT-Element; verwenden Sie stattdessen Stylesheets (z. B. die 'font'-Property in CSS).
http://www.w3c.de/Trans/WAI/webinhalt.html#tech-avoid-deprecated
Für die Prüfung der Verwendung überholter Elemente kommt es nicht darauf an, welcher DOCTYPE für die Seite definiert ist. Der Maßstab ist stets HTML Version 4.01. Eine Webseite kann also überholte Elemente verwenden und trotzdem valide sein (Prüfschritt 3.2.1).
Abgrenzung der Bewertungsstufen:
Die Liste unter "Nur für bestimmte Elemente überholte Attribute sind:" wird ergänzt um: "border (für die Elemente img und object)". (Diese Änderung betrifft die Beschreibung des Prüfschritts, das für die Prüfung eingesetzte Bookmarklet bleibt unverändert.)
Ein Element oder Attribut ist überholt, wenn es infolge neuerer Konstrukte veraltet ist. Überholte Elemente können in zukünftigen Versionen von HTML obsolet werden. Der Index der HTML-Elemente und -Attribute im Techniken-Dokument gibt an, welche Elemente und Attribute in HTML 4.0 überholt sind. Autoren sollten die Verwendung überholter Elemente und Attribute vermeiden. Benutzeragenten sollten sie aus Gründen der Abwärtskompatibilität weiterhin unterstützen.
http://www.w3.org/Consortium/Offices/Germany/Trans/WAI/webinhalt.html
Avoid use of obsolete language features if possible.
Deprecated
elements are ones which have been replaced by newer elements. While
browsers currently support those elements, they may not in the
future. It is best to avoid use of these elements when possible.
The following
elements have been removed in HTML 4.0:
-
APPLET, for Java applets: use OBJECT instead
-
BASEFONT, CENTER, FONT,
STRIKE, U,
for formatting: use style sheets for these formatting effects
-
DIR, MENU,
to define lists: use other list elements such as UL
or OL, and use style sheets to refine
the formatting
-
ISINDEX,
for simple form input: use an INPUT
element within a FORM
-
LISTING,
PLAINTEXT, and XMP,
for formatting fixed-width text: use the PRE
element
See
http://www.w3.org/TR/1998/REC-html40-19980424/appendix/changes.html#h-A.1.1.2
for more information.
Note:
Be aware that designing stylesheets to fail gracefully, required
under Checkpoint 6.1, may require you use deprecated elements, but do
so with caution.
http://bobby.watchfire.com/bobby/html/en/gls/g256.html
The
main method to ensure accessibility is to encode data at as high a level of abstraction as possible (...)The structure/style dichotomy is a clear example of the former: rather than encoding that something is red, W3C formats allow (and urge) an author to encode first of all the reason why it is red. The redness is added as a rule on top of that. With HTML, for example, rather than font color="red", a careful author writes em class="warning" and puts the rule that warnings are displayed in red in a style sheet. This way somebody who has no means
to display (or see) red at least has a chance to substitute something else that alerts him (such as a nasty
sound).
http://www.w3.org/People/Bos/DesignGuide/designguide.html
The proper HTML elements should be used to mark up emphasis: EM
and STRONG.
The B
and I
elements should not be used; they are used to create a visual
presentation effect. The EM and STRONG elements were designed to
indicate structural emphasis that may be rendered in a variety of
ways (font style changes, speech inflection changes, etc.)
http://www.w3.org/TR/WCAG10-HTML-TECHS
Deprecated or
obsolete language features are those which, though currently in
common use, have been removed from the HTML specification and are not
expected to be supported in future browsers. Often these features
have been removed because of compatibility issues and replaced with
elements that are more compatible with a wide range of browsers and
access devices. It is good practice to use the newer alternatives
whenever possible.
http://bobby.watchfire.com/bobby/html/en/gls/g256.html
Please note that the latest draft of WCAG 2.0 Guideline 4.1 [1] says, "for markup, **except where the site has documented that a specification was violated for backward compatibility**, the markup has:
a. passed validity tests of the language (whether it be conforming to a schema, Document Type Definition (DTD), or other tests described in the specification) b. structural elements and attributes are used as defined in the specification
c. accessibility features are used
d. deprecated features are avoided"
http://lists.w3.org/Archives/Public/w3c-wai-gl/2004JanMar/0022.html
Nein, das ist nicht angebracht und auch nicht erforderlich. In solchen Fällen können inline Stylesheets verwendet werden.
(07.01.2004)