[ https://issues.apache.org/jira/browse/FOP-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351813#comment-17351813 ]
Harshitha Rao Thanneru commented on FOP-3011: --------------------------------------------- Hi [~rpilkey] , Beth created this Jira for me. This is what we have used to create running Headers and Footers. {code:java} <fo:page-sequence master-reference="HeaderBodyFooter"> <fo:static-content flow-name="xsl-region-before"> <xsl:element name="fo:wrapper" use-attribute-sets="DefaultFontFamily"> <xsl:apply-templates select="./SectionA"/> </xsl:element> </fo:static-content> <fo:static-content flow-name="xsl-region-after"> <xsl:element name="fo:wrapper" use-attribute-sets="DefaultFontFamily"> <fo:block text-align="center">Page: <fo:page-number/></fo:block> </xsl:element> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <xsl:element name="fo:wrapper" use-attribute-sets="DefaultFontFamily"> <xsl:apply-templates select="./SectionB"/> <xsl:apply-templates select="./SectionC"/> <xsl:apply-templates select="./SectionD"/> <xsl:apply-templates select="./SectionD1"/> <xsl:apply-templates select="./SectionE"/> <xsl:apply-templates select="./SectionF"/> <xsl:apply-templates select="./SectionG"/> <xsl:apply-templates select="./SectionT"/> </xsl:element> </fo:flow> </fo:page-sequence> {code} There is no possibility of manually making the Header/footer in page 2,3,4 to be an Artifact. Please correct me if I'm wrong here as this content repeats in all pages using the above code and there is no way to determine which page we are on to decide whether this could be artifact. Thank you for Helping here. > Common header and footer announced multiple times by screen reader > ------------------------------------------------------------------ > > Key: FOP-3011 > URL: https://issues.apache.org/jira/browse/FOP-3011 > Project: FOP > Issue Type: Bug > Reporter: Elizabeth Whitmer > Priority: Major > > The PDFs we generate using Apache FOP have a common header and footer that > appear on each page of the PDF. When testing these PDFs using JAWS 2021, > we've found that JAWS will announce both the header and footer content > multiple times depending on the number of pages in the PDF. For example, if > the PDF has 3 pages, JAWS will announce the header content 3 times (once for > each page), then read the remaining contents of the PDF, and then announce > the footer content 3 times. This happens if the JAWS user tries to read the > PDF line-by-line using the down arrow key and it also happens when we open > the PDF and allow JAWS to read the PDF in "Say All" mode from top to bottom. -- This message was sent by Atlassian Jira (v8.3.4#803005)