xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eva <didadi...@hotmail.com>
Subject Re: alternate text extension not working in FOP version 2.0
Date Wed, 14 Oct 2015 14:24:44 GMT
Hi Chris,

I've simplify the original XSL with only one image for testing purpose and
still found alt-text not showing when running a full check on accessibility. 

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"
xmlns:h="http://tempuri.org/ReportTypeDataSet.xsd"
xmlns:m="http://tempuri.org/MPRDataSet.xsd" xmlns:myObj="urn:myObj">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="mpr-life-pg1" page-width="8.5in"
page-height="11in">
			<fo:region-body region-name="mpr-life-pg1-body" margin-right="0.6in"
margin-left="0.6in" margin-bottom="0.5in" margin-top="2in"
display-align="center" />
			<fo:region-before region-name="mpr-life-pg1-before" extent="2in"
display-align="after" />
			<fo:region-after region-name="mpr-life-pg1-after" extent="0.8in"
display-align="before" />
		</fo:simple-page-master>
		<fo:simple-page-master master-name="mpr-life-other" page-width="8.5in"
page-height="11in">
			<fo:region-body region-name="mpr-life-other-body" margin-right="0.6in"
margin-left="0.6in" margin-bottom="0.5in" margin-top="0.75in"
display-align="center" />
			<fo:region-before region-name="mpr-life-other-before" extent="1.25in"
display-align="after" />
			<fo:region-after region-name="mpr-life-other-after" extent="0.8in"
display-align="before" />
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence initial-page-number="1" master-reference="mpr-life-pg1"
force-page-count="no-force" language="en">
		<fo:static-content flow-name="mpr-life-pg1-before">
			<fo:block top="0.5in" left="0.5in" width="7.5in" height="1.5in"
position="absolute" language="en">
				<fo:external-graphic fox:alt-text="logo"
src="http://localhost/PCom3-phase3-t3/images/3441_2.png" />
			</fo:block>
		</fo:static-content>
		<fo:flow flow-name="mpr-life-pg1-body">
			<fo:block id="terminator" language="en" />
		</fo:flow>
	</fo:page-sequence>
</fo:root>



--
View this message in context: http://apache-fop.1065347.n5.nabble.com/alternate-text-extension-not-working-in-FOP-version-2-0-tp42921p42967.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message