nvda icon indicating copy to clipboard operation
nvda copied to clipboard

HTML file input value is not read in Chrome

Open tahoon-ms opened this issue 7 years ago • 4 comments

Steps to reproduce:

  1. Open Chrome
  2. Go to any website that has a HTML file input (<input type="file">)
  3. Activate the input and select a file
  4. Press SHIFT+TAB and then TAB again to focus the control

Actual behavior:

NVDA reads the name of the control and the selected file.

Expected behavior:

NVDA just reads the name of the control

System configuration

NVDA installed

NVDA version:

2019.1.1

Windows version:

10.0.18362 Build 18362

Name and version of other software in use when reproducing the issue:

Chrome version: 74.0.3729.169

Other questions

Does the issue still occur after restarting your PC?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

No. NVDA debug log doesn't seem to be useful. Looks like a Chrome bug.

tahoon-ms avatar Jun 10 '19 16:06 tahoon-ms

@tahoon-ms could you please test with NVDA 2020.1 and Chrome 83?

Please also provide a test website where we can reproduce this. Thankks.

Adriani90 avatar May 20 '20 22:05 Adriani90

I tried with latest NVDA and Chrome and the issue is still there. It's really easy to repro. I have created a simple sandbox at https://output.jsbin.com/nuxujiloqi. Here is the HTML if the site is down:

<button>hello</button>
<input type='file' aria-label='example' />
<button>goodbye</button>

It's a file input sandwiched by two buttons for convenience.

  1. Tab to the file input. NVDA just says "example, button" and does not mention it is is part of the file input control.
  2. Select a file with the file input. After selecting a file, tab to the button next to it and then shift + tab back to the file input. NVDA just says "example, button" and does not mention which file was selected.

Chrome Version 83.0.4103.61 NVDA 2020.1

tahoon-ms avatar May 20 '20 23:05 tahoon-ms

Testing with NVDA 2023.1 RC1, the issue is reproducible only when pressing tab or shift+tab while you are in browse mode.

In focus mode the file is spoken when you press tab or shift+tab. This works also as expected when you press nvda+tab or nvda+shift+o in brose mode to report the currently focues object.

Adriani90 avatar Mar 22 '23 22:03 Adriani90

In Chrome Canary 132, everything works as expected, but now the selected file is repeated twice. I am closing as works for me.

Adriani90 avatar Nov 07 '24 15:11 Adriani90