gdh1995 / pdf.js

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

When using voiceover to navigate the document page, the focus on the links is not logical. #22

Open msftedad opened 3 months ago

msftedad commented 3 months ago

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

Configuration:

Pre-requisites: Open Settings> Accessibility> Voiceover> Turn on Voiceover.

Steps to reproduce the problem:

  1. Open this PDF viewer https://mozilla.github.io/pdf.js/web/viewer.html.
  2. Navigate to 'Tools' option at header at header of pdf viewer.
  3. Activate 'Open' control and upload any pdf (Having links in it) from your system.
  4. Now you'll have the pdf file, in pdf viewer.
  5. Navigate through the links and observe the issue.

What is the expected behavior? (add screenshot) Voiceover focus should be logical and visible on the links when user navigates using swipe gestures and must announce the complete link information on the document page.

What went wrong? (add screenshot) When using voiceover to navigate the document page, the focus on the links is not logical.

When using voice over to navigate the links, the focus order is not visible on the selected link. Instead, it moves to the beginning of the document page and announces it as a link.

https://github.com/gdh1995/pdf.js/assets/93735775/d31866ea-5b2e-4ed5-ab74-3faabc2ca34c

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