Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The links in the table of contents do not have an accessible name #19586

Open
VarshithaYendapallyTR opened this issue Feb 28, 2025 · 0 comments

Comments

@VarshithaYendapallyTR
Copy link

Attach (recommended) or Link to PDF file

The link (anchor tag) in the table of contents do not have accessible name.

Web browser and its version

Chrome Version 133.0.6943.142 (Official Build) (arm64)

Operating system and its version

Mac OS Ventura 13.7.4

PDF.js version

4.10.38

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

Open a pdf which has headers and navigate to table of contents in the side bar. The content list items are links which use anchor tags. They do not have accessible names.

What is the expected behavior?

The elements should have accessible name, role and state. We could use hidden buttons for accessibility purpose even though we need links on UI to navigate to the section upon click.

What went wrong?

Missing name, role and status of table of content list items

Link to a viewer

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants