W3C home > Mailing lists > Public > www-validator@w3.org > October 2003

Form Element Select and attribute selected

From: Ageer, Lenin B <lbagee@essex.ac.uk>
Date: Tue, 21 Oct 2003 12:45:56 +0100
Message-ID: <7AC902A40BEDD411A3A800D0B7847B660F63107E@sernt14.essex.ac.uk>
To: <www-validator@w3.org>

we are in the process of making our website W3c(XTML 1.0 Transitional) and Bobby AAA(W3C Web Content Accessibility Guidelines 1.0.).
But I am facing a problem there is a clash between xhtml and bobby.A Form element (select ) causing this problem. Bobby requires 'selected' but xhtml 1.0 don't allow 'selected' attribute.
Please see below for detail explanation.
I created a test page (http://www.esds.ac.uk/IntroductionTest.asp ) to test these two.


C.10. Boolean Attributes
Some HTML user agents are unable to interpret boolean attributes when these appear in their full (non-minimized) form, as required by XML 1.0. Note this problem doesn't affect user agents compliant with HTML 4. The following attributes are involved: compact, nowrap, ismap, declare, noshade, checked, disabled, readonly, multiple, selected, noresize, defer.


Include default, place-holding characters in edit boxes and text areas.
Placeholder text appears in the form control before the user has made any changes. The user can type over that text when entering data into the form. To create placeholder text:
With most form controls, placeholder text is included via the "value" attribute. 
Placeholder text for SELECT controls (drop-down lists and list boxes) is accomplished by making one of the OPTIONs active with a "selected" attribute. 
Radio button groups should have an option selected with the "checked" attribute of the appropriate radio button. 
Placeholder text for TEXTAREA controls is located between the opening and closing tags. 

Thanks and regards

Lenin Babu Ageer
Information Systems & Preservation
UK Data Archive - a service provider of the Economic and Social Data Service (ESDS)
University of Essex, 
Colchester, CO4 3SQ, UK 
Tel: (+ 44 1206) 874044 Fax: (+44 1206) 872003
email: lbagee@essex.ac.uk 
Web: http://www.data-archive.ac.uk http://www.esds.ac.uk
Legal Disclaimer: Any views expressed by the sender of this message are not necessarily
those of the UK Data Archive or the ESDS. This email and any files transmitted with it
are confidential and intended solely for the use of the individual(s) or entity to whom
they are addressed.
Received on Tuesday, 21 October 2003 07:49:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC