Bug 506846 - Hide initial file selector input from keyboard and AT
Summary: Hide initial file selector input from keyboard and AT
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Client (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 13.0   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2016-11-01 13:42 EDT by Carolyn MacLeod CLA
Modified: 2016-11-01 13:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2016-11-01 13:42:10 EDT
In edit.html, the following code (which seems to be a work-around for browser inconsistencies) causes a problem for accessibility because the input is hidden from sighted users, but not from keyboard users or AT users.

<!-- file input doesn't function properly on all web browsers if it is dynamically generated, we don't want the input to be visible -->
<input id="fileSelectorInput" type="file" multiple style="position:fixed; top: -100px;"/>