uswds/uswds
File Input: "Drag file here" instruction is not sensible for mobile devices
クローズ
#3,567 opened on 2020/07/31
Affects: ContentAffects: GuidanceAffects: UsabilityGood first issueHelp wantedIs: Breaking 🔴Package: File Input
Repository metrics
- Stars
- (5,611 個のスター)
- PR merge metrics
- (平均マージ 51d 21h) (30d で 28 merged PRs)
説明
Description
The File Input component displays an instructional text "Drag file here or choose from folder". While this guidance is useful for users on desktop devices where they may wish to drag and drop a file from a file explorer, this sort of interaction isn't sensible for a mobile device, where one would not be expected to have the equivalent of dragging a file from another window.
Steps to reproduce the issue
- Navigate to File Input demo on a mobile device, or using browser simulation
- Observe the text "Drag file here or choose from folder"
Additional information
Screenshot:
