Last modified: 2011-03-13 18:06:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2193, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 193 - Multiple top-level headers (h1) allowed
Multiple top-level headers (h1) allowed
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-23 02:19 UTC by Chris Wood
Modified: 2011-03-13 18:06 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris Wood 2004-08-23 02:19:58 UTC
It is possible to create multiple top-level headers in articles.
1. Is this ever a good thing to do?
2. This breaks W3C specs by creating more than one <h1> tag.
Comment 1 Antoine "hashar" Musso (WMF) 2004-08-23 02:31:00 UTC
It's possible in mediawiki :

= header =

= second header =

== sub1 ==

== sub2 ==


There is not a lot of thing we can do about that anyway. Of course it's still
possible to prompt an error message but that will annoys users.

Can you optionally give us an url with that W3C spec ?
Comment 2 Chris Wood 2004-08-23 02:44:22 UTC
The bug is that it is possible, but it should be impossible (at least with
wikimarkup).

It breaks Web Content Accessibility Guidelines 1.0, Priority 2 (see
http://www.w3.org/TR/WCAG10-HTML-TECHS/#grouping).
Comment 3 Antoine "hashar" Musso (WMF) 2004-08-23 03:13:08 UTC
Sorry I don't see anything related to "only one H1 tag per document".

On the other hand, the document you pointed to advice to use H1 then H2. H1 ->
H3 and skipping
H2 should be forbidden. Again I am not sure how to patch that in mediawiki, it
will probably
just annoy users.

Experience show that most mediawiki users use H2 directly anyway.
Comment 4 Chris Wood 2004-08-23 05:58:52 UTC
My bad, sorry for the bugspam.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links