WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: no paragraphs in divs

for

From: Patrick H. Lauke
Date: Jul 25, 2015 4:02PM


On 25/07/2015 22:04, Guy Hickling wrote:
> Assistive technology reacts to
> paragraphs (eg screen readers may pause very slightly, and/or change
> inflexion, at the end of a paragraph, but they don't do that for divs. Your
> 3 sentances would have been run together.

Just doing some very cursory testing, this isn't quite accurate.

Doing a simple "read all" with NVDA and JAWS in Firefox and IE,

<div>foo</div>
<div>bar</div>

is read out exactly the same (same pause, inflection) as

<p>foo</p>
<p>bar</p>

For what it's worth, a notable inflection (to denote the end of a
sentence) isn't caused by the presence or absence of a <p> element, but
rather punctuation. Again

<div>foo.</div>
<div>bar.</div>

and

<p>foo.</p>
<p>bar.</p>

are announced the same, now both with a lowering/inflection to signify
the end of a sentence.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke