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">&lt;fo:block&gt;</span>blah... blah...
+  <span class="nt">&lt;fo:wrapper</span> <span class="na">role=</span><span class="s">&quot;artifact&quot;</span><span class="nt">&gt;</span>Funny graphical thing without logical meaning<span class="nt">&lt;/fo:wrapper&gt;</span>
+  blah... blah... <span class="nt">&lt;/fo:block&gt;</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">&lt;fo:static-content</span> <span class="na">flow-name=</span><span class="s">&quot;xsl-region-before&quot;</span> <span class="na">role=</span><span class="s">&quot;artifact&quot;</span><span class="nt">&gt;</span>
+  <span class="nt">&lt;fo:block&gt;</span>Page <span class="nt">&lt;fo:page-number/&gt;&lt;/fo:block&gt;</span>
+<span class="nt">&lt;/fo:static-content&gt;</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