Text selection in PDFs is barely visible
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
| Accessibility Severity | s3 |
People
(Reporter: calixte, Unassigned)
Details
(Keywords: access, Whiteboard: [pdfjs-accessibility])
Attachments
(2 files)
STR:
- switch to HCM
- open a pdf with some text
- select some text
A way to fix this bug is to draw the rectangles in a svg element in order to be able to apply a filter to have the correct colors for the background and the foreground.
That said it makes the highlighting feature hard to use in HCM.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
We probably want to use the system color SelectedItem for the background and SelectedItemText for the foreground to communicate the selected state of the text and ensure the expected by the user color combination is respected too. Just in case, the reference in Figma (SSO login needed)
Updated•2 years ago
|
Comment 2•5 days ago
|
||
Comment 3•1 day ago
|
||
Rewording the title because this is not only about HCM.
Updated•1 day ago
|
Comment 4•9 hours ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: Vastly improved visual indication of selected text on PDFs, matching the behavior Firefox has on web pages.
[Affects Firefox for Android]: Yes.
[Suggested wording]: Text selected in PDFs is now highlighted clearly like in normal web pages. The selection color also follows OS settings like high-contrast mode.
[Links (documentation, blog post, etc)]: N/A
Description
•