While the does represent "nothing" in a way, it is something
and I would say that it's use would be slighty worse than a purely
empty element.
Joseph R. B. Taylor
Designer/Developer
-------------------------------
Sites by Joe, LLC
"Clean, Simple & Elegant Web Design"
Phone: (609) 335-3076
On Feb 9, 2009, at 5:47 AM, Benjamin Hawkes-Lewis <bhawkesle...@googlemail.com
> wrote:
On 9/2/09 02:44, Gerard Hynes (Gmail) wrote:
I'm not expert about screen readers, but I did run a site I upgraded
through JAWS with some interesting results. The site had alot of
<p> </p> due to the CMS they were using and JAWS would
translate
this to/speak out "blank" which wasn't ideal. Am not sure if it would
do the same for<p></p> or<div></div> or<div />.
Precise behavior will vary with publisher styling of the DOM,
platform, browser (and version), screen reader (and version), user
configuration, and the commands used when reading that part of the
page.
For example, JAWS 10 has a concept of "blank lines". It will read
out "blank" as you step through a document if you come to something
that matches that concept. The following variations:
<p>bar</p>
<p>baz</p>
<p style="margin: 0;padding: 0;">bar</p>
<p style="margin: 0;padding: 0;">baz</p>
<p>bar</p>
<p> </p>
<p> </p>
<p>baz</p>
<p>bar</p>
<div></div>
<p>baz</p>
<p>bar</p>
<div></div>
<div></div>
<p>baz</p>
are _all_ read:
"bar
"blank
"baz"
It also has a configuration setting for whether "blank lines" should
be spoken with the "Say All" command. If this is off (as it is by
default), then the above variations would all be read:
"bar
"baz"
--
Benjamin Hawkes-Lewis
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************