Skip to content

Highlighter toolbar is not accessible by keyboard #3074

@gperezinf

Description

@gperezinf

Describe the bug

  1. Go to the Simple Demo at https://pdfviewer.net/extended-pdf-viewer/simple
  2. Navigate to the highlight toolbar button with keyboard
  3. Press space/enter to open the highlight popup
  4. Press tab, which shifts focus to the Text toolbar button instead of the color swatches, bypassing the highlight popover

There is no way that I can see to access the color swatches or thickness slider from the highlight toolbar button when navigating the pdf viewer with keyboard only. Focusing those elements requires clicking inside the popover with a mouse and then you can navigate the options with tab as normal, but the mouse interaction is mandatory.

Additionally, when the focus is within the highlight popover (by means of clicking inside it), pressing escape on the keyboard does not close the popover.

I am not sure if this is a bug or a missing feature; but I think it's the former because the secondary toolbar, which is also a popover, is both accessible and closes on escape

Version info

  • 25.6.0-rc.3

Metadata

Metadata

Assignees

Labels

25scheduled for version 25ConfirmedI've managed to reproduce the bug. That's great news: chances are I'll solve it.SolvedbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions