uswds/uswds

File Input: "Drag file here" instruction is not sensible for mobile devices

クローズ

#3,567 opened on 2020/07/31

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)CSS (795 件のフォーク)batch import
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

  1. Navigate to File Input demo on a mobile device, or using browser simulation
  2. Observe the text "Drag file here or choose from folder"

Additional information

Screenshot:

screenshot: drag file here on mobile

コントリビューターガイド