Open Bug 1801911 Opened 2 years ago Updated 2 years ago

Decide if time inputs need to have a Reset button to clear their value

Categories

(Core :: Layout: Form Controls, enhancement)

Desktop
All
enhancement

Tracking

()

People

(Reporter: ayeddi, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(5 files)

STR

  1. Open a new tab with URI data:text/html,<input type=time value=11:11>

Form fields

  1. <input type=time>

UI element alternatives

  1. Reset button to clean the value of the field
  2. Nothing (introduced with the bug 1676068)

Question

Should we show a Reset button for a type=time inputs or it is not beneficial as the user can clean out the field manually? If it is decided to be shown, the previously used Reset button will need to be made accessible (have a role button, be keyboard focusable and actionable, and possibly be shown at all times while being disabled if the field's value is empty)

See Also: → 1811187
Blocks: 1811187
See Also: 1811187
Attached image Chrome-110-shot1.jpg
Attached image Chrome-110-shot2.jpg
Attached image Firefox-109.2-shot1.jpg
Attached image Firefox-109.2-shot2.jpg

I would add all time/date input variant to the discussion. I attach screenshots of Chrome 110 and Firefox 109.2 on Android. I have a button to clear input and I appreciate it as much as the (X) icon in my desktop Firefox 102.7.0esr.

Wyczyść = Clear
Anuluj = Cancel

(In reply to Marcin Szewczyk (:wodny) from comment #5)

I would add all time/date input variant to the discussion. I attach screenshots of Chrome 110 and Firefox 109.2 on Android. I have a button to clear input and I appreciate it as much as the (X) icon in my desktop Firefox 102.7.0esr.

Wyczyść = Clear
Anuluj = Cancel

Hi @Marcin, thank you for providing the feedback and helpful screenshots! The clearing of the date and date time-local field is tracked by the bug 1811187 (adding the Clear button to the date picker panel). Feel free to give this bugs a vote up! :)

No longer blocks: 1811187
See Also: → 1811187
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: