W3C home > Mailing lists > Public > public-html@w3.org > March 2008

3.18 Miscellaneous elements

From: Ben Boyle <benjamins.boyle@gmail.com>
Date: Sat, 22 Mar 2008 12:43:12 +1000
Message-ID: <5f37426b0803211943x2e8a5e9cgcc17001f1de691e0@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

http://dev.w3.org/html5/spec/Overview.html#miscellaneous


3.18.1 The legend element

Reads ok. Legend sees extended use in the new details and figure
elements. Interesting that it does not have to be the first child
within figure (it must be a child). Will suggest some minor word
changes from "... for the rest of the contents of the legend element's
parent element." to "... that applies to the parent fieldset, details
or figure element."

I have to ask... is using legend practical? Today, legend is one of
the most *difficult* elements to style using css. Is there some
commitment to improving that within fieldset (and details, figure).


3.18.2 The div element

Read this and the associated note... think they can be combined into a
single description that is clear and promotes the use of div where no
more meaningful element exists (I'm sure I've already read something
similar in the spec). Maybe something like this (feel free to edit):
The div element is a generic container element. It can be used with
the id, class, lang/xml:lang, and title attributes to mark up
semantics common to a group of consecutive elements.
Authors should use the element that best matches the purpose of the
content, and reserve div to extend HTML where appropriate elements do
not exist. (WCAG reference here would not go astray)

n.b. I included 'id' in the list of attributes mentioned. It's inclusion is key.

Similar  wording is/should be used for span:
http://dev.w3.org/html5/spec/Overview.html#span
Received on Saturday, 22 March 2008 02:43:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:53 UTC