File input browse button no longer gets accessibility focus
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
People
(Reporter: Jamie, Assigned: Jamie)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
lizzard
:
approval-mozilla-esr68+
|
Details | Review |
STR (with the NVDA screen reader):
- Open this test case:
data:text/html,<body role="application"><input type="file"></body>
- Tab to the file input.
- Expected: NVDA should report "Browse… button"
- Actual: NVDA reports just "text frame" (or "grouping" if the fix for bug 1316965 has already landed)
4:28.23 INFO: Last good revision: 710344cf9b5a442b0d4de8925ac63e4ea2fbd26b
4:28.24 INFO: First bad revision: e152590056cc434823f354f149706d28b6127c66
4:28.26 INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=710344cf9b5a442b0d4de8925ac63e4ea2fbd26b&tochange=e152590056cc434823f354f149706d28b6127c66
I'm pretty sure this is caused by bug 505355, which changed things so that the file input itself gets focused instead of the button inside it.
Impact: This will be very confusing for users tabbing to a file input using screen reader focus mode. They probably won't realise it is a file input at all.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by mzehe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/768b6818e666 When a file input has DOM focus, focus the browse button inside it for a11y. r=MarcoZ
Comment 3•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Do you want to request uplift to beta and/or esr68?
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9093770 [details]
Bug 1582323: When a file input has DOM focus, focus the browse button inside it for a11y.
Beta/Release Uplift Approval Request
- User impact if declined: Users tabbing to a file input using screen reader focus mode will be very confused and probably won't realise it is a file input at all.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Straightforward patch which only affects accessibility focus for file inputs.
- String changes made/needed: None.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Causes problems for screen reader users trying to use file inputs.
- User impact if declined: Users tabbing to a file input using screen reader focus mode will be very confused and probably won't realise it is a file input at all.
- Fix Landed on Version: 71, also requesting uplift to 70
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Straightforward patch which only affects accessibility focus for file inputs.
- String or UUID changes made by this patch: None.
Assignee | ||
Comment 6•5 years ago
|
||
Verified fixed in Firefox 71 nightly 20190923215658.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Comment on attachment 9093770 [details]
Bug 1582323: When a file input has DOM focus, focus the browse button inside it for a11y.
Fix for a11y regression from 68, verified in Nightly.
OK for uplift for beta 10 and esr68.
Comment 8•5 years ago
|
||
bugherder uplift |
Comment 9•5 years ago
|
||
I have reproduced this issue using Firefox 71.0a1 (2019.09.18) on Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 70.0b10 build from treeherder (https://treeherder.mozilla.org/#/jobs?repo=mozilla-beta&revision=d12a3157212a37629fe31e1b272445110c9b5660&selectedJob=268241328) on Win 10 x64 and Win 7 x64, waiting for fix in esr68.
Comment 10•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 11•5 years ago
|
||
I can confirm this issue is fixed, I verified using Firefox 68.2.0esr build from treeherder (https://treeherder.mozilla.org/#/jobs?repo=mozilla-esr68&revision=e6a84b47baef6c678843b9764f85710a5fe18bd7&selectedJob=268376840) on Win 8.1 x64 and Win 10 x64.
Updated•5 years ago
|
Updated•2 years ago
|
Description
•