diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-27 12:07:08 +0100 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2015-10-27 12:07:08 +0100 |
| commit | e41a0b11fd386c487e15048aa829f471ceb4c1fa (patch) | |
| tree | b2ab1ebf5ff9b92e4ef99b70b47f9f5675dae50c /img/paypal.png | |
| parent | 6376b0365a9bd90bcd30f59b460784d896fac0f6 (diff) | |
Stop placing #upload-input off-screen, don't display it
Problems with placing #upload-input off-screen is that keyboard
navigation (tab) will gain focus of the upload buttons twice.
Hiding the other upload button (the <input> element) off-screen makes no
sense because no explanation is given. Hide it with `display: none;`.
Considering screen reader users, the <button> element (with a future
<label> element) should hopefully convey enough information about it's
purpose. `tabindex="-1"` would be an alternative, but would require
placing content off-screen.
Diffstat (limited to 'img/paypal.png')
0 files changed, 0 insertions, 0 deletions
