The most common use case for href="" on every element seems to be about removing lots of characters when creating a navigation menu or a blog roll or similar list. So instead of typing

  <ul>
    <li><a href="">test</a>
    ...

you would type

  <ul>
    <li href="">test
    ...

Maybe we can change the content model of <ul> (and perhaps <ol>) to allow a series of <a> elements:

  <ul>
    <a href="">test</a>
    ...

For backwards compatibility text content would be allowed inside <ul> but must be ignored for the purposes of determining the semantics of the content (in a conforming HTML5 UA). This would allow:

  <ul>
    <a href="">test</a> |
    <a href="">test</a> |
    ...

Alternatively <nav> could be redefined to have this type of semantics when its content model is just <a> elements and text content.


(Also thanks to Sjoerd Visscher.)


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Reply via email to