W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2011

RE: PDF screen reader and how to tag a block to be ignored by it

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Mon, 14 Feb 2011 15:12:50 -0500
Message-Id: <>
To: "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
At 2011-02-14 13:35 -0600, Mario Madunic wrote:
>The for-each won't work as it will force all blocks that contain 
>content into the left most columns, hence making the columns 
>unbalanced. Didn't think it through completely.

Actually, I thought the zero-height blocks would not have changed the 
end result in any way.

Remember you can annotate the XSL-FO constructs with private 
attributes using your own namespace, then a post-XSLT filter (again 
using XSLT) can then filter those out to produce a PDF for screen 
readers that is different than the unfiltered XSL-FO for the page reader.

I hope this helps.

. . . . . . . . . Ken

>Marijan (Mario) Madunic
>Publishing Specialist
>New Flyer Industries
>-----Original Message-----
><xsl:for-each select="0 to $extraRowsNeeded">
>    <fo:block />
>So I was hoping there was an attribute that can define the blocks as 
>fluff and no need to be read out. Stylistically bad and not screen 
>reader unfriendly but what are other solutions?

Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
Received on Monday, 14 February 2011 20:13:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:34 UTC