gecko-dev/accessible
Anna Yeddi 6c9a5814b5 Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane
Done:
- Functionality of the button was changed from cleaning the field value to toggling the datepicker dialog.
- Pre-existing issues resolved: Updated datetimebox.js to use `keydown` event instead of the deprecated `keypress` (which does not preventDefault for buttons), added default handling of digits for `keydown`, and added a check to avoid running duplicate cleanup when the picker is closed
- Removed ability to open a date picker from editable elements of the `<input type="date">` field and ensured keyboard and mouse/touch click are working for the Calendar button, while Escape functionality remained
- Updated `onBlur` logic for the button in accordance with its new functionaility
- New Calendar SVG icon was created by Katie Caldwell and optimized by Sam Foster
- Provided HCM support for the Calendar button
- Ensured the Calendar button is not shown on `<input type=time>` to preserve the existent UX
- Added Fluent l10n to the content process and provided `title` to the image button (SVG is marked as `role="none"` to avoid exposure to assistive technology)
- Added functional and markup tests for the Calendar button and its localization, updated Reset button tests to the Calendar one

ToDo (further patch):
1. Pt.4 - Ensure keyboard support when focus moves between processes

ToDo (other dependencies/bugs):
1. Investigations into if we should show a calendar button for read-only fields and if a Reset button would be benefitial to be shown for a `type=time` inputs

Depends on D139981

Differential Revision: https://phabricator.services.mozilla.com/D141175
2022-12-01 19:50:03 +00:00
..
android Bug 1801986 - Set pivot root to top remote document. r=Jamie 2022-11-29 20:31:21 +00:00
aom
atk Bug 1778433 part 3: Remove defunct *AccessibleWrap types. r=nlapre 2022-11-22 04:55:11 +00:00
base Bug 1801986 - Set pivot root to top remote document. r=Jamie 2022-11-29 20:31:21 +00:00
basetypes Bug 1801907: Fail gracefully (don't crash) if a caller passes an invalid end offset to HyperTextAccessibleBase::TextBounds. r=morgan 2022-11-28 19:31:27 +00:00
docs Bug 1800949 - add accessibility Architecture doc with info on trees. r=morgan,Jamie 2022-11-18 00:50:58 +00:00
generic Bug 1802866: Don't send a11y cache pushes containing no data. r=nlapre 2022-11-29 07:01:25 +00:00
html Bug 1778433 part 2: Change references to defunct *AccessibleWrap types to use the corresponding *Accessible classes. r=nlapre 2022-11-22 04:55:11 +00:00
interfaces Bug 1797840: Replace stray tab character with space, in a11y msaa file ISimpleDOMDocument.idl. r=eeejay 2022-10-28 18:08:18 +00:00
ipc Bug 1801756: When hit testing in RemoteAccessibleBase, search for the deepest matching descendant of the first match. r=morgan 2022-12-01 04:32:28 +00:00
mac Bug 1778433 part 3: Remove defunct *AccessibleWrap types. r=nlapre 2022-11-22 04:55:11 +00:00
other Bug 1778433 part 3: Remove defunct *AccessibleWrap types. r=nlapre 2022-11-22 04:55:11 +00:00
tests Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane 2022-12-01 19:50:03 +00:00
windows Bug 1778433 part 3: Remove defunct *AccessibleWrap types. r=nlapre 2022-11-22 04:55:11 +00:00
xpcom Bug 1790816 - Reformat accessible/ with isort. r=linter-reviewers,Standard8 DONTBUILD 2022-11-23 12:38:45 +00:00
xul Bug 1778433 part 2: Change references to defunct *AccessibleWrap types to use the corresponding *Accessible classes. r=nlapre 2022-11-22 04:55:11 +00:00
moz.build