gdh1995 / pdf.js

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

Keyboard focus order is not logical on 'Toggle sidebar's' activated controls on 'Terms of use' PDF. #13

Open msftedad opened 9 months ago

msftedad commented 9 months ago

Attach (recommended) or Link to PDF file here:

Configuration:

Steps to reproduce the problem:

  1. Open this PDF viewer compressed.tracemonkey-pldi-09.pdf (mozilla.github.io)
  2. Navigate through the collapsible/expandable items.
  3. Navigate to 'Toggle sidebar' button and expand it.
  4. Re-navigate through the PDF page.
  5. Observe the issue.

What is the expected behavior? (add screenshot) Keyboard focus should always move top-to-bottom and left-to-right via 'Tab' key.

After the 'Toggle sidebar' button, focus should move to its activated controls (Show thumbnails, show document etc..) and then focus should move on to the rest header controls (Find in document, Previous/Next page etc..) of the PDF.

What went wrong? (add screenshot) Keyboard focus order is not logical on 'Toggle sidebar's' activated controls (Show thumbnails, Show document etc..).

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

Attachments:

https://github.com/gdh1995/pdf.js/assets/93735775/0df6d6d0-c495-4236-b765-b91eca130358