[Wmlbrowser] <fieldset> element

Xavier Morel xmorel at fullsix.com
Wed Apr 18 03:02:33 PDT 2007


WML has a fieldset element to group related "form" elements together.
The fieldset is usually displayed as a box with solid or slanted
borders, and an optional title punched into the border.

The issue here is that in WML the fieldset title is set by the @title
fieldset attribute, while in regular HTML the fieldset title (the one
punched into the border) is set by a <legend> element as first child of
the fieldset (http://www.w3.org/TR/html401/interact/forms.html#h-17.10),
and the @title is only used for regular title purposes (hover hint and
stuff). Yet wmlbrowser translates the WML fieldset at title into an HTML
fieldset at title, giving it quite different semantics than the WML ones.

Would it be possible for wmlbrowser to translate fieldset at title into a
<legend> element?

Side-question: in WML, content can only be contained in <p> elements
(many devices refuse to render the content and display an error if there
is anything out of a <p>, apart from cards of course). Would it be
possible for wmlbrowser to throw an error if it finds a	page where
regular text, <table>, <fieldset>, <go>, <a> and any other "inner"
element is found at the root of a card, without being enclosed by a <p>?

Thank you.

Xavier Morel



More information about the Wmlbrowser mailing list