gdh1995 / pdf.js

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

Incorrect behavior is observed for radio buttons present under 'Toggle sidebar' button. #15

Open msftedad opened 8 months ago

msftedad commented 8 months ago

Attach (recommended) or Link to PDF file here edad (1) (1).pdf

Configuration

OS: Window 11 22H2 OS Build 25179.1000 Browser: Microsoft Edge Version 107.0.1402.2 (Official build) dev (64-bit) Screen reader: Narrator

Steps to reproduce the problem 1.Open the pdf file edad (1) (1).pdf.

  1. Navigate to 'Toggle sidebar' button and expand it. 3.Observe whether correct behavior is observed for radio buttons present under 'Toggle sidebar' button or not.

What is the expected behavior? (add screenshot) Radio buttons should behave like a radio button, where only first radio button should be accessible with 'Tab' key and rest of radio buttons should be navigable using arrow keys, and also radio button should automatically get selected when user navigates on any radio button.

Here's an example of radio buttons behavior Radio Group Example Using Roving tabindex | APG | WAI | W3C.

What went wrong? (add screenshot) Incorrect behavior is observed for radio buttons (Show thumbnails, show document etc..) present under 'Toggle sidebar' button.

All radio buttons are navigable using 'Tab' key, and user manually needs to press 'Enter/Spacebar' to select a radio button.

Attachments

code snippet-Incorrect role is announced by the screen reader  (1) (1)

https://github.com/gdh1995/pdf.js/assets/93735775/110c9bb8-d53d-43df-a489-adb7e80f6b1c

msftedad commented 1 week ago

Hi Team, Any update on this issue? Please provide the ETA to fix this issue.