Closed Bug 1879559 Opened 2 years ago Closed 5 hours ago

Text selection in PDFs is barely visible

Categories

(Firefox :: PDF Viewer, defect)

defect

Tracking

()

RESOLVED FIXED
153 Branch
Accessibility Severity s3
Tracking Status
relnote-firefox --- ?
firefox-esr115 --- wontfix
firefox-esr140 --- affected
firefox122 --- wontfix
firefox123 --- wontfix
firefox124 --- wontfix
firefox149 --- wontfix
firefox150 --- wontfix
firefox151 --- wontfix
firefox152 --- affected
firefox153 --- fixed

People

(Reporter: calixte, Unassigned)

References

Details

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

Attachments

(2 files)

Attached image image.png

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.

Accessibility Severity: --- → s3

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)

Severity: -- → S3

Rewording the title because this is not only about HCM.

Summary: In HCM, the text selection is barely visible → Text selection in PDFs is barely visible

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

relnote-firefox: --- → ?
No longer depends on: 2041075
Status: NEW → RESOLVED
Closed: 5 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: