On Thu, Dec 19, 2013 at 2:00 PM, Tom Livingston <tom...@gmail.com> wrote:
> Is it wrong to have an H2 before an h1, which would lend itself to the
> visual look as well as the importance of the lines of copy, or should
> they be in a h1 then h2 source order and somehow arrange them with css
> to match the layout. And if the latter is more correct, what's the
> best way to just swap their visual order? The layout is just the two
> lines, centered horizontally, below a nav bar.

I just came across this site today (thanks to the informative Webdev
Newsletter 
<http://www.d.umn.edu/itss/training/online/webdesign/webdev_listserv.html>):

"Semantics and Accessibility: Heading Structure"
<http://accessiblehtmlheadings.com/>

... I thought that might be of use to Tom/others.

Also, contrary to popular belief, the <hgroup> tag [1] is still around
[2]. That's a useful tag for when you need to group multiple headings:

[quote]

The HTML <hgroup> Element (HTML Headings Group Element) represents the
heading of a section. It defines a single title that participates in
the outline of the document as the heading of the implicit or explicit
section that it belongs to.

Its text for the outline algorithm is the text of the first HTML
Heading Element of highest rank (i.e., the first <h1>, <h2>, <h3>,
<h4>, <h5> or <h6> with the smallest number among its descendants) and
the rank is the rank of this very same HTML Heading Element.

Therefore this element groups several headings, contributing only the
main one to the outline of the document. It allows associating
secondary titles, like subheadings, alternative titles, or even
taglines, with the main heading, without polluting the outline of the
document.

[/quote]

[1] <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup>
[2] 
<http://lists.whatwg.org/pipermail/help-whatwg.org/2013-December/001250.html>

-- 
<git.io/micky>
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to