gdh1995 / pdf.js

PDF Reader in JavaScript
Apache License 2.0
1 stars 0 forks source link

Keyboard focus boundaries have luminosity ratio of 1.2:1, which is less than required 3:1. #23

Open msftedad opened 6 months ago

msftedad commented 6 months ago

Attach (recommended) or Link to PDF file here: https://mozilla.github.io/pdf.js/web/viewer.html. edad (2).pdf

Configuration:

Steps to reproduce the problem:

  1. Open this PDF viewer https://mozilla.github.io/pdf.js/web/viewer.html.
  2. Navigate through the controls.
  3. Observe the luminosity ratio of keyboard focus on pdf controls.

What is the expected behavior? (add screenshot) Keyboard focus boundaries should have luminosity ratio of at least 3:1.

What went wrong? (add screenshot) Keyboard focus boundaries have luminosity ratio of 1.2:1, which is less than required 3:1. Focus boundaries have low lumosity ratio (1)

The issue is repro'ing throughout the application for PDF controls.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):