You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by bu...@apache.org on 2012/05/29 11:50:45 UTC
svn commit: r819481 - in /websites/staging/xmlgraphics/trunk/content: ./
fop/trunk/accessibility.html
Author: buildbot
Date: Tue May 29 09:50:44 2012
New Revision: 819481
Log:
Staging update by buildbot for xmlgraphics
Modified:
websites/staging/xmlgraphics/trunk/content/ (props changed)
websites/staging/xmlgraphics/trunk/content/fop/trunk/accessibility.html
Propchange: websites/staging/xmlgraphics/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue May 29 09:50:44 2012
@@ -1 +1 @@
-1342783
+1343634
Modified: websites/staging/xmlgraphics/trunk/content/fop/trunk/accessibility.html
==============================================================================
--- websites/staging/xmlgraphics/trunk/content/fop/trunk/accessibility.html (original)
+++ websites/staging/xmlgraphics/trunk/content/fop/trunk/accessibility.html Tue May 29 09:50:44 2012
@@ -407,6 +407,21 @@ The processing of the logical structure
<fo:block>This is the first paragraph of the first section...</fo:block>
...
If a non-standard structure type is specified, FOP will issue a warning and fall back to the default tag associated to the Formatting Object.</p>
+<h1 id="treating-content-as-artifact">Treating Content as Artifact</h1>
+<p>If your document has content that is not meant to appear in the structure tree, you can wrap it in an <code>fo:wrapper</code> element whose <code>role</code> property has been set to âartifactâ. For example:</p>
+<div class="codehilite"><pre><span class="nt"><fo:block></span>blah... blah...
+ <span class="nt"><fo:wrapper</span> <span class="na">role=</span><span class="s">"artifact"</span><span class="nt">></span>Funny graphical thing without logical meaning<span class="nt"></fo:wrapper></span>
+ blah... blah... <span class="nt"></fo:block></span>
+</pre></div>
+
+
+<p>This special value for the <code>role</code> property can also be applied to <code>fo:static-content</code> elements; indeed such elements are often used to contain page header information, that is there purely as a reading aid for sighted people and is meaningless when read out loud by a screen reader.</p>
+<div class="codehilite"><pre><span class="nt"><fo:static-content</span> <span class="na">flow-name=</span><span class="s">"xsl-region-before"</span> <span class="na">role=</span><span class="s">"artifact"</span><span class="nt">></span>
+ <span class="nt"><fo:block></span>Page <span class="nt"><fo:page-number/></fo:block></span>
+<span class="nt"></fo:static-content></span>
+</pre></div>
+
+
<h1 id="testing">Testing</h1>
<p>Accessible PDFs can be tested, for example, using Adobe Acrobat Professional. Its Accessibility Check feature creates a report indicating any deficiencies with a PDF document. Alternatively, you can just let a screen reader read the document aloud.</p>
<h1 id="limitations">Limitations</h1>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org