Open Bug 1726173 Opened 3 years ago Updated 11 months ago

[XFA & AcroForm] The order in which the input fields are being focused/highlighted is incorrect

Categories

(Firefox :: PDF Viewer, defect, P2)

Desktop
All
defect

Tracking

()

Accessibility Severity s3
Tracking Status
firefox91 --- disabled
firefox92 --- disabled
firefox93 --- affected
firefox104 --- affected
firefox105 --- affected
firefox106 --- affected

People

(Reporter: danibodea, Unassigned)

References

Details

(Keywords: access, Whiteboard: [pdfjs-form-xfa][pdfjs-accessibility])

Attachments

(8 files)

Attached file imm5257e.pdf

Note

  • When the user loads some specific PDF files and navigates them by keyboard (Tab key), he will notice that the fields are being focused/visually highlighted in the wrong order.

Affected versions

  • Beta v92.0b4

Affected platforms

  • all

Steps to reproduce

  1. Launch browser.
  2. Load the attached PDF file.
  3. Press the Tab key to focus through the form fields (text fields/radio buttons/checkboxes/combo-boxes/buttons...).

Expected result

  • The focus should move in an orderly manner, up-down, left-right.
  • Then behavior seen in Abobe is the one described above, the most logical one: "Validate" button, "Clear Form" button, "UCI" text field, "I want service in" combo box, "Visa requested" combo box, "*Family name (as shown on your passport or travel document)" text field, "Given name(s) (as shown on your passport or travel document)" text field, "Have you ever used any other name (e.g. Nickname, maiden name, alias, etc.) ?" radio buttons set, and so on...

Actual result

  • The focus is moved from the PDF controls to a radio button (on page 2, sub-section 6, from PASSPORT section), then to an "Email address" text field (on page 2, sub-section 6, from CONTACT INFORMATION section, then (presumably) focuses the "Validate" and "Clear Form" buttons from the top of the document, only then finally focusing the first field of the document (1. UCI).

Regression range

  • Not a recent regression, but it is important to notice that a more confusing behavior can be seen in Release v91.0 since a visual focus was even more lacking (XFA disable under pref in this channel).

Additional notes

  • I have set this bug's severity as S2, because it could be a very complicated and confusing process for keyboard users. Please lower it if it is believed to be too high.
  • [access] keyword set because it's an interest of keyboard users.
Blocks: 1726183
No longer blocks: 1726183
See Also: → 1726183

This behavior is also seen here.

This issue can also be observed in this PDF;
The dynamic link from the top of the page should be focused first, but in fact it's focused last, in the top-right group of fields (row 1, column 2), the "Reset information" button/link is focused before the "DOB" text field when it should be vice-versa.

Keep in mind that the buttons/links aren't visually focused (bug 1726183).

This is probably a less than adequate example for this issue because the focus in Adobe is still a little faulty, but the one seen in Firefox is considerably worse and obvious.

Whiteboard: [access-s3]

This PDF looks a lot like the first one, but it's a little different and shows the same behavior.

This might be a good example considering the large table. Adobe shows correct behavior.

Attached file MOZILLA-1082743-1.pdf

Another good example of this issue.

Another one.

QA Whiteboard: [pdf_xfa_generic]
See Also: → 1718665

Lowering the severity to S3 given the accessibility rating.

Severity: S2 → S3
Priority: -- → P2
Whiteboard: [access-s3] → [access-s3][pdfjs-form-xfa][pdfjs-accessibility]

Is this still reproducible?

Flags: needinfo?(daniel.bodea)

Yes, still reproducible.

Flags: needinfo?(daniel.bodea)
Accessibility Severity: --- → s3
Whiteboard: [access-s3][pdfjs-form-xfa][pdfjs-accessibility] → [pdfjs-form-xfa][pdfjs-accessibility]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: