Cerbera wrote:(I also think form validation and <dialog> are unnecessary additions to HTML. But I assume there's a good reason for them, just that I don't know what it is.)
I didn't say they're unneccessary, I just made a comparisment to the choices that are made concerning other elements and features. I'm not sure about
<dialog>, but I think HTML form validation is a very good thing.
Cerbera wrote:Also, we aren't talking about deprecating <di> and replacing it with an all-new association method, we are talking about whether <di> is worth adding.
True, but again it was just a comparisment. I've never heard anyone saying that we could get rid of
<fieldset> because it has no semantic value as its
<legend> allready tells us where a new group starts.
Cerbera wrote:- Code: Select all
<dl>
<di>
<dt>foo</dt>
<dd>bar</dd>
<dt>bish</dt>
<dd>bash</dd>
</di>
</dl>
Would this mean:
Or:
Now we're talking
I guess the second option would be the most logical.
Cerbera wrote:If it's the latter, what would happen when
<di> is absent:
- Code: Select all
<dl>
<dt>foo</dt>
<dd>bar</dd>
<dt>bish</dt>
<dd>bash</dd>
</dl>
And what about when some but not all groups in a
<dl> are contained by a
<di>:
- Code: Select all
<dl>
<di>
<dt>foo</dt>
<dd>bar</dd>
</di>
<dt>bish</dt>
<dd>bash</dd>
<dt>alpha</dt>
<dd>beta</dt>
</dl>
Good questions. I'm not saying that I've thought all options and possible errors all the way through. I just experience an element missing whenever I work with
<dl>s.
But to answer tour questions... I think there are two options here:
- if <di> will not be optional, these examples would not conform
- if <di> will be optional there are two options again:
- list items that are not explicitly grouped inside a <di> are grouped implicitly (so the first example would have one group, the second two)
- if a <dl> contains no <di>s at all, the 'old' way of grouping is used
Now that I think about it I guess I'd prefer option 1, making
<di> not an optional element. Option 2a could be defined as part of the 'error handling' then
Option 2b would offer a backwards compatibilty opportunity, but therefore has the same 'incestuous' DOM structure (cousins sharing the same parent) as it has nowadays.
Cerbera wrote:I think this DOM-based method would not be backwards compatible, particularly with assistive technologies. That would make HTML5's <dl> less accessible than HTML4's -- a very undesirable outcome.
But that would mean that we're stuck forever in HTML4. That seems even more undersirable. To people who rely on assistive technologies as well I guess.
<abbr> was only introduced in HTML4 and not supported in IE6 and Netscape 4. Is that a bad thing? I think not. Even
<span>s were not to be found in any specs before HTML4.