[Bug 21926] Use div instead of span in subheading example for album title

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21926

steve faulkner <faulkner.steve@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #10 from steve faulkner <faulkner.steve@gmail.com> ---
(In reply to comment #0)
> Created attachment 1356 [details]
> Rendering of the example in text browser (w3m) and graphical browser with
> default styling (Firefox)
> 
> In "Subheadings, subtitles, alternative titles and taglines" [1]  there is
> an example for an album title:
> 
>    <h1>The Mothers 
>    <span>Fillmore East - June 1971</span> 
>    </h1>
> 
> In text browsers (or in graphical browser without default styling) the whole
> heading will be displayed in one line. Because there is no delimiter it’s
> impossible to tell where the interpreter name stops and where the title
> begins (see the attached screenshot). Screen readers would probably read
> this as one line, too.
> 
> I think it would be better to use the 'div' element instead of the 'span'
> element here. (Or alternatively use a delimiter. Or maybe the 'br' element
> might be appropriate here, but I’m not sure about that.)
> 
>    <h1>The Mothers 
>    <div>Fillmore East - June 1971</div> 
>    </h1>
> 
> [1] http://www.w3.org/html/wg/drafts/html/master/common-idioms.html#sub-head

Hi Stefan,

Thanks for the feedback I will work on this. 
note: 
some browsers assign a paragraph role to elements that do not have a default
role (such as span) when display:block is apllied
screen readers interpret the CSS so read it as 2 lines.
div is not allowed in hx

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 7 May 2013 10:21:24 UTC