[XFA & AcroForm] Checkboxes and radio buttons have no focus indicator when navigating via keyboard
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: ailea, Assigned: calixte)
References
Details
(Keywords: access)
Attachments
(3 files)
Tested with:
Nightly 91.0a1 (2021-06-28)
Tested on:
Windows 10
Steps:
- Launch the browser.
- Flip the pdfjs.enableXfa to true.
- Load the attached PDF file.
- 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.
Reporter | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Note this is applicable to both checkboxes and radio buttons
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
This is not specific to XFA forms, it can be reproduced on AcroForm too (e.g. https://tcpdf.org/files/examples/example_054.pdf or https://raw.githubusercontent.com/mozilla/pdf.js/master/test/pdfs/annotation-button-widget.pdf).
Updated•4 years ago
|
Comment 4•4 years ago
|
||
This appears to be due to the outline: none
property on the checkboxes and radio buttons.
Comment 5•4 years ago
|
||
That property was added back in https://github.com/mozilla/pdf.js/pull/4203, for the PDF viewer UI.
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
![]() |
||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
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.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•