Open Bug 1801910 Opened 1 year ago Updated 11 months ago

Decide if readonly date and datetime-local inputs need to have a Calendar button to show a datepicker

Categories

(Core :: Layout: Form Controls, enhancement)

Desktop
All
enhancement

Tracking

()

People

(Reporter: ayeddi, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

STR

  1. Open a new tab with URI data:text/html,Readonly:<input type=date value=2022-11-11 readonly><input type=datetime-local value=2022-11-11T11:11 readonly> Compare with:<input type=date value=2022-11-11><input type=datetime-local value=2022-11-11T11:11>

Form fields

  1. <input type=date readonly value=2022-11-11>
  2. <input type=datetime-local readonly value=2022-11-11T11:11>

UI element alternatives

  1. Calendar button that toggles a datepicker panel (introduced with bug 1676068 for editable fields to preserve the existent behavior)
  2. Nothing

Question

Should we show a Calendar button for read only fields to allow users to locate the weekday of the date shown and, for instance, how far away this selected date is from today, etc.

note: the screenshot is taken with macOS HCM/Increase contrast on

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

Attachment

General

Created:
Updated:
Size: