This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28736 - Feature Request: Banner Title Element
Summary: Feature Request: Banner Title Element
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-01 22:13 UTC by Mark Simon
Modified: 2015-06-17 05:14 UTC (History)
4 users (show)

See Also:


Attachments

Description Mark Simon 2015-06-01 22:13:20 UTC
HTML5 adds more power to the heading elements, which is a good thing. However, there appears to be no recommended element for marking up a site-wide banner title.

Traditionally, many users have resorted to using h1 for the banner heading, but this may not be in the spirit of headings which introduce sections. Furthermore, the banner title would be expected to be the same for most, if not all, pages, while the h1 would be expected to be different for each page.

Other available elements already have their own semantic meanings, and none of them would imply a title.

A header might be the appropriate place to put such a title, but, since headers are not sections, semantically they change nothing.

I would like to suggest an element which has the same logic as h1, but specifically for banners titles. I have a preference for the tag name “title” since a body title should be clearly distinct from a head title, but accept that that may not be logistically reasonable. I would prefer not to call it “banner” since that might imply a larger container.

However, anything would do for me.
Comment 1 Michael[tm] Smith 2015-06-17 05:14:25 UTC
(In reply to Mark Simon from comment #0)
> HTML5 adds more power to the heading elements, which is a good thing.
> However, there appears to be no recommended element for marking up a
> site-wide banner title.

Pages should use H1 for that. The HTML language defines markup for individual markup; it doesn't define "site-wide" markup.
 
> Traditionally, many users have resorted to using h1 for the banner heading,
> but this may not be in the spirit of headings which introduce sections.

An H1 as a child of the body element doesn't introduce a new section; instead it supplies the title for the whole document—exactly as most people expect.

(BTW, "headings which introduce sections" is anyway just a abstract construct as far as HTML browsers/UAs are concerned, because it UAs don't implement the outline algorithm defined in the HTML spec.)

> Furthermore, the banner title would be expected to be the same for most, if
> not all, pages, while the h1 would be expected to be different for each page.

That's not necessarily true at all. There's nothing that prevents a set of documents at a particular site from having the same H1 if that's the how they want to do it. And users do not necessarily expect to see a different H1 on each page. They see a title on the page and don't know nor care what the markup the author is using for it.

There are so far no indications of any browser-implementer interest in adding a new <banner> (or whatever) element for this case. So it would be better to take this proposal to another forum such as discuss.webplatform.org or the public-webapps@w3.org mailing list or the whatwg@whatwg.org list, and then re-open this if/when there's new any information to add here.