Vincent Massol wrote:
Hi,
On Sep 8, 2009, at 3:22 PM, Ecaterina Valica wrote:
1)
Display doc titles with <div>
isn't H1 more semantically correct?
Maybe yes. It just looked strange to me to have 2 H1 but I'm ok with
whatever our HTML experts say :)
Well, it is a little strange, because the title's H1 is "above" the first H1
in
the document (since all = headings = generate H1s).
However, a div is not semantic at all, better 2 H1s than a div.
>> 2) Display document content headers using <h1>-<h6>
>> 3) Display doc titles with a larger font size than h1 (or h1 with a
>> smaller font size)
>>
> This is not necessary. H1 means the first title in a document. The
> name of
> the document could be represented with H1.
> If me as a user, I want to have multiple H1 (with same importance as
> the
> title), I should be able to do that.
How about if I want to have none? why can't I have none? (I will automatically
get a title generated from the document's name).
Also, as I said, I think semantically the document title is more important than
all the other level 1 headings in it (a book's title is more important than any
of its chapters titles).
> The difference between the title and another H1 is
the position in the
> document (the title is always the first).
In this case, then why does the title have its own special input and so on? we
could just rely on an existing first heading level 1, in the content, or use the
document's name if none is set.
>
> Representing the title as a H1 solves the 6) problem. Can you
> explain a user
> why the first title is bigger on some pages, while on other pages(no
> title
> specified), the title has the same size like other H1?
good point.
= header = generates a H1.
?
Thanks
-Vincent
All in all, I find this one a very tricky one (from a semantic pov).
To fix it, we'd need to agree on the semantic of a document title (maybe I
missed some mails or chat discussions):
We know we want it in the breadcrumbs, browser window title, and now we also
want it represented (somehow) in the content. Does any document need a title
(unique toplevel name)? With these semantics, we should also define the
substitution rules: is a user inserted =heading 1= equivalent to a user inserted
title? or it's just the document name that can replace it?
how about:
6) no heading in the document replaces a document title, but upon save, a
document title, if missing, is generated from separating the page name camel
case in words.
just my first thoughts.
Happy hacking,
Anca
4) Force
cursor to be in the title field when editing a new document.
Force cursor in the content field when editing an existing document.
This is to make it easy using the keyboard only to enter doc titles
(since it's currently dead easy, we need something close in easiness)
+1
5) Modify all our existing skins: Toucan,
Albatross, Finch and Dodo
so
that they use they display the doc title, similarly to Colibri
+1
6) Have a title compatibility flag in xwiki.cfg.
When active, use a
Javascript to do this: if there's no title specified for a page and
if
the first content is a H1 then use it as the page's title.
+1
> We need at least 1), 3), 6) to be able to release the Colibri skin
> for
> 2.0 final IMO.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs