Skip to content

[Bug]: UI button tooltips unavailable to keyboard navigation users - make tooltip appear also via focus - Accessibility issue #19156

@dmer

Description

@dmer

Attach (recommended) or Link to PDF file

Applies to any PDF viewed in pdfjs
https://mozilla.github.io/pdf.js/web/viewer.html

Web browser and its version

Chrome Version 131.0.6778.86

Operating system and its version

Mac OS 14.6.1

PDF.js version

v4.3.136

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

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open a PDF in pdfjs
  2. use the keyboard to navigate through the buttons in the toolbar

What is the expected behavior?

When I navigate to a button (e.g. "Highlight") with the keyboard (focus moves to Highlight button) the tooltip should show so that I know the purpose of the button.

What went wrong?

Mouse hover over the buttons shows a tooltip and I can get screen readers to read the button title, but for users purely using keyboard navigation, the button names are not shown.

Link to a viewer

https://mozilla.github.io/pdf.js/web/viewer.html

Additional context

This came up in a site Accessibility Audit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions