Propose for using <li> to group <dt> and <dd>

Hi editors,

This suggestion actually has been proposed before, but the discussion has
gone nowhere. Hence this thread.

The reason for calling for <li> inside <dl> to wrap related <dt>s and <dd>s
are:

   - For meaningfulness. Related <dt>s and <dd>s are more meaningful being
   together.
   - For readability. The current structure makes things in a <dl> hard to
   read as all <dt>s and <dd>s pile up and stick.
   - For the side benefit - styling hooks. With <li>s, developers can style
   a <dl> much easier.

A previous concern with regard to this proposal was backward compatibility.
i.e. <li>s inside <dl> is not supported by old browsers. Imho, it really
does no harm because it doesn't break anything or crash browsers. Besides,
browsers should be ready to improve themselves instead of delaying the
advancement of web technologies. Like the introduction new HTML5 elements,
that was a good example of browsers being suggested to improve themselves.

The following comments are use cases. They showed that developers are
currently frustrated by the lack of wrappers for <dt>s and <dd>s, and thus
resort to JavaScript to create wrappers, or even prevent using <dl> at all.

http://html5doctor.com/the-dl-element/#comment-5360
http://html5doctor.com/the-dl-element/#comment-5506
http://html5doctor.com/the-dl-element/#comment-5606
http://html5doctor.com/the-dl-element/#comment-14938
http://html5doctor.com/the-dl-element/#comment-15099
http://html5doctor.com/the-dl-element/#comment-18082
http://html5doctor.com/the-dl-element/#comment-20942
http://html5doctor.com/the-dl-element/#comment-25208
http://html5doctor.com/the-dl-element/#comment-29041


Sincerely,
Ian Yang

Received on Saturday, 23 March 2013 16:53:18 UTC