Copy link to clipboard
Copied
Is it possible to truly make make a form field an artifact so it is not announced by a screen reader?
The situation: I have a PDF document that has a form field on the first page to let the user enter a document number consisting of alphabetic and numeric characters. The document owner wants the document number to display in the footer of every page in the document.
I can duplicate the form field in the page footer on every page using the same 'name' property so that the document number displays on every page. Works great!
But, I do not want it to be announced by a screen reader on every page, just on the first page.
I am able to make the form field an artifact (background) on the subsequent pages using the Reading Order tool. This takes the fields out of the tag tree, BUT the Accessibility Full Check tool lists the artifact fields as failing the 'Tagged Annotations' rule. And a screen reader still announces the fields.
Any thoughts on truly hiding the duplcate form fields from a screen reader? Or other ways of displaying the text in the footer of every page without making the accessibility checker lose its mind?
Thanks.
Copy link to clipboard
Copied
Hi @Daniel28876796iecd ,
By form field I assume that you are referring to a textfield object?
What works for me is somewhat of a long workaround but it is worth giving it a shot.
Tagging such texfield as an Artifact or even as a Figure won't stop the narrator from reading it.
What I would do is to tag the entire document. This will be our Step 1.
Once the desired tag structure is defined the way you want it, to include the reading order and the desired tabbing order (which in my case I prefer to use "Order Tabs by Row"), save your document and follow Step 2 which is broken down below with more steps:
var f = this.getField("Footer.2");
(event.value != "") ? f.value = event.value : f.value = "";
And now that this is out of the way, open the Accessibility tool (using the right-hand pane).
This will be our Step 3:
If at this point all is good, you can test by clicking on any field objects with the mouse pointer or tabbing all the way through the document.
Let's consider the testing part as Step 4.
Wether if you click with the mouse pointer on Field.1 footer or if the user is tabbing through Page 1 of the document and it lands on Field.1, the narrator will read that required field object (which we already tagged when the document was defined with a PDF tag tree structure (outlined in Step 1).
While if the user clicks on or by way of tabbing the selection lands on any of the Field.2 read-only textfields, the narrator won't read it at all.
Only the screen reader assistant visual indicator will become active around that field. But basically the narrator assistant will skip it .
TO SUMMARIZE:
The intent is to allow users to input whatever data needs to be entered on Field.1 footer textfield and populate Field.2 footer field automatically accross all pages with the same value.
Deleting the value on Field.1 will also clear Field.2 footer textfield.
Clicking on or tabbing to any of the read-only Field.2 footers will be ignored by the narrator assistant.