[whatwg] article: do we really need this?
tekelenb at euronet.nl
Mon Mar 5 23:47:27 PST 2007
At 07:09 +0000 UTC, on 2007-03-06, Benjamin Hawkes-Lewis wrote:
> include a conformance requirement for
> <article> to have a fragment identifier (e.g. for comments) and/or a
> permalink (e.g. for blog posts)? e.g.:
> <article> ... <a
> rel="permalink">http://www.example.com/articles/2458</a> .... </article>
> <article id="article-2458-comment-358686"> ... </article>
FWIW, the WRI lists auto-adding of IDs to 'sections' as something we'd like
authoring systems to do:
currently specifically name heading levels, but that should probably be
extended to other elements.
In other words, if HTML would require an ID, it would't make sense to only
require it for <article>.
Btw, browser authors could contribute to adoption of such a practice by
making it easy for users to find such IDs. One implementation might be to,
through the contextual menu, place a link with fragment identifier to that
specific section on the clipboard. I currently make IDs visible through a
user Style Sheet, but you then still need to put the page's URL and fragment
identifier together manually -- a direct means built into the browser would
be more comfortable, especially for all who don't write their own User CSS.
The Web Repair Initiative: <http://webrepair.org/>
More information about the whatwg