- From: Steve Faulkner <faulkner.steve@gmail.com>
- Date: Fri, 31 May 2013 09:49:20 +0100
- To: Ian Devlin <ian@iandevlin.com>
- Cc: HTMLWG WG <public-html@w3.org>
Hi Ian, > I assume that any <subline> element that is not within a <hX> element will be automatically related to the nearest <hX>? in theory yes, I am thinking (aloud) about whether it may be useful to restrict subline outside of a hx to header so header provides explicit grouping i.e. this is ok <header> <subline>subline</subline> <h1>heading</h1> <subline>subline</subline> </header> this is not: <header> <h1>heading</h1> </header> <subline>subline</subline> -- Regards SteveF HTML 5.1 On 31 May 2013 08:24, Ian Devlin <ian@iandevlin.com> wrote: > I like this a lot, especially the fact that it can be used both inside and > outside the relevant <hX> element. > > I assume that any <subline> element that is not within a <hX> element will > be automatically related to the nearest <hX>? > > > On 30 May 2013 11:15, Steve Faulkner <faulkner.steve@gmail.com> wrote: >> >> hi all >> >> I will respond to individual comments when I have time, but here are >> some general comments for now: >> >> As its says on the doc - its an early draft. Nothing is set in stone >> what is there is merely a sketch of a possibility. >> >> Here is what i think developers want (not necessarily need) anybody >> feel free to add/subtract disagree etc >> >> - A way to indicate part of a heading is differentiated from another >> part as in title/subtitle/alterntive title >> - A way to indicate that text is not a heading but is closely >> associated with a heading and more specific than a paragraph. >> - Easy ways to style such content >> >> >> Thinking more on it this markup pattern would fit: >> >> <header> >> <h1>Walking the path of a tornado >> <subline>A journey into the heart of a 17-mile storm</subline> >> </h1> >> <subline>by <span>John D. Sutter</span>, CNN<br><time>published Wed >> May 29, 2013</time></subline> >> </header> >> >> http://pastebin.mozilla.org/2461203 >> >> In the above example the <subline> can be used either as a child of >> heading or as a sibling. when used as a child of heading it is a >> subtitle, when used as a sibling it is a byline, tagline. <header> can >> be used for grouping if desired. >> >> CSS: example author styling hooks >> >> header subline {...} >> >> header h1 subline {...} >> >> h1 subline {...} >> >> h1 ~ subline {...} >> >> h1 + subline {...} >> >> >> things that are missing from the spec sketch: >> >> - default UA CSS for subline (aprt from display:block) >> - Related accessibility semantics (as I have suggested in other for, >> the semantics would need a new role/roles added to ARIA (as there are >> no platform API semantics for a subheading etc.), which could then be >> used for default implicit semantics for a native html feature. >> >> >> >> >> thoughts? >> -- >> >> Regards >> >> SteveF >> HTML 5.1 >> >> >> On 29 May 2013 12:16, Steve Faulkner <faulkner.steve@gmail.com> wrote: >> > some people in the HTML community have indicated their interest in a >> > feature that provides a semantic indication of a subheading, >> > subtitle, alternative title or tagline >> > >> > here is a feature proposal to further discussion: >> > >> > http://rawgithub.com/w3c/subline/master/index.html >> > -- >> > >> > Regards >> > >> > SteveF >> > HTML 5.1 >> >
Received on Friday, 31 May 2013 08:50:29 UTC