Closed Bug 1718528 Opened 4 years ago Closed 4 years ago

[XFA & AcroForm] Checkboxes and radio buttons have no focus indicator when navigating via keyboard

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 91
Desktop
All
defect

Tracking

()

VERIFIED FIXED
93 Branch
Accessibility Severity s2
Tracking Status
firefox-esr91 --- fixed
firefox89 --- disabled
firefox90 --- disabled
firefox91 --- disabled
firefox92 --- verified
firefox93 --- verified

People

(Reporter: ailea, Assigned: calixte)

References

Details

(Keywords: access)

Attachments

(3 files)

Attached file evince-1157-0-GOOD.pdf

Tested with:

Nightly 91.0a1 (2021-06-28)

Tested on:

Windows 10

Steps:

  1. Launch the browser.
  2. Flip the pdfjs.enableXfa to true.
  3. Load the attached PDF file.
  4. Using the keyboard only, navigate to any checkboxes.

Actual result:

The checkboxes are not highlighted when are in focus and the user doesn't know where the focus is.

Expected result:

The checkboxes should have highlight when navigate with the keyboard.

OS: Unspecified → All
Hardware: Unspecified → Desktop
Priority: -- → P2
QA Whiteboard: [pdf_xfa_generic]
Keywords: access
Whiteboard: [access-s2]

Note this is applicable to both checkboxes and radio buttons

No longer blocks: 1723615
See Also: → 1723615
Summary: The checkboxes are not highlighted when using the keyboard navigation → Checkboxes have no focus indicator when navigating via keyboard
Severity: S3 → S2
Summary: Checkboxes have no focus indicator when navigating via keyboard → Checkboxes and radio buttons have no focus indicator when navigating via keyboard
See Also: → 1723931

This appears to be due to the outline: none property on the checkboxes and radio buttons.

That property was added back in https://github.com/mozilla/pdf.js/pull/4203, for the PDF viewer UI.

Priority: P2 → P1
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Summary: Checkboxes and radio buttons have no focus indicator when navigating via keyboard → [XFA & AcroForm] Checkboxes and radio buttons have no focus indicator when navigating via keyboard
Depends on: 1724461
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

I can confirm that both the checkboxes and radio buttons are properly visually highlighted in Nightly v93.0a1 and Beta v92.0b4, as opposed to Release v91.0, in the case of this PDF and few others. This will be properly verified by the end of the preliminary testing session for this feature.

It's important to mention that bug 1723931 behavior is observed in this specific PDF and I can confirm that Adobe Reader also shows this behavior, which confirms the fact that the PDF is broken by itself.

Status: RESOLVED → VERIFIED
QA Whiteboard: [pdf_xfa_generic]
See Also: → 1722979
Depends on: 1741445
Target Milestone: --- → 93 Branch
Accessibility Severity: --- → s2
Whiteboard: [access-s2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: