Closed Bug 272202 Opened 20 years ago Closed 20 years ago

firefox central.html has non-sequential heading tags (h1, h3, h3) missing h2

Categories

(www.mozilla.org :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nrlz, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

The HTML on "Firefox Central"
(http://www.mozilla.org/products/firefox/central.html) uses heading tags that
skip over H2. The first heading is H1 and everything else is H3.

W3C includes an informal note that: "Some people consider skipping heading
levels to be bad practice. They accept H1 H2 H1 while they do not accept H1 H3
H1 since the heading level H2 is skipped."
http://www.w3.org/TR/html4/struct/global.html#h-7.5.5

Keeping it the same or changing it will have no external effect as they are both
styled with CSS. It is still valid HTML and acceptable to most of us. But, it
would be nice to change the H3 tags to H2 just to make all sides happy (people
who find it acceptable and people who don't). After all, there's nothing to lose
in changing it.

Reproducible: Always
Steps to Reproduce:
Status: UNCONFIRMED → NEW
Ever confirmed: true
We are styling H2 and H3 tags a bit differently (of course) and want to use the
H3 on this page - I think it's ok to leave as is.

Marking as WONTFIX
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
> We are styling H2 and H3 tags a bit differently (of course) and want to use
> the H3 on this page - I think it's ok to leave as is.

sematic markup should never assume how styles are defined.

Steven, we used to have different heading styles for body.deepLevel, body, and
body.secondLevel. Do you mind if I reopen this bug and file a new bug on
reviving deepLevel and secondLevel styling?
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.