You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "J Frank (Jira)" <ji...@apache.org> on 2022/02/02 16:32:00 UTC

[jira] [Comment Edited] (FOP-3011) Common header and footer announced multiple times by screen reader

    [ https://issues.apache.org/jira/browse/FOP-3011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485908#comment-17485908 ] 

J Frank edited comment on FOP-3011 at 2/2/22, 4:31 PM:
-------------------------------------------------------

Try with this fo  [^test_working.fo] 

More info for generating accessibility pdf is on
https://xmlgraphics.apache.org/fop/2.4/accessibility.html

There are two steps to get this to work.
1: Enable accessibility as suggested in above link, I have used command line param to generate pdf 
2. Generate pdf with fo having two fo:static-contents
first for page one header ( to be read)
and second static content for rest of page which is not be read so added 
*role="artifact*" 
refer Line 64 in attached fo
<fo:static-content flow-name="even-region-before" role="artifact" >  <!-- this is for rest of page not to be read out-->
Hope this helps
This is not a bug



was (Author: jagruti.frank@gmail.com):
Try with this fo  [^test_working.fo] 

More info for generating accessibility pdf is on
https://xmlgraphics.apache.org/fop/2.4/accessibility.html

as this works, this is not a bug

> 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
>         Attachments: test_working.fo
>
>
> 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.20.1#820001)