Closed Bug 345224 Opened 19 years ago Closed 19 years ago

datepicker ally issues

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: surkov, Assigned: surkov)

References

Details

(Keywords: fixed1.8.0.8, fixed1.8.1.1)

Attachments

(1 file)

datepicker should be consistent with http://www.mozilla.org/access/toolkit-checklist ("Lists and combo boxes section").
html datepicker: 1) when calendar is closed by escape then focus doesn't return to input field 2) pressing alt+up/alt+down makes window to forward/back xul datepicker: 1) when calendar is closed then focus doesn't return to input field 2) F4, alt+down, alt+up does't toggle calendar 3) pressing alt+up/alt+down makes window to forward/back If we should act like comboboxes then I guess focus should be always in input field, there we should handle navigation keys and forward them into calendar. If we're typing date into input field then calendar should show typing date. Right?
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
Patch is addressed to: > html datepicker: > 1) when calendar is closed by escape then focus doesn't return to input field > 2) pressing alt+up/alt+down makes window to forward/back > > xul datepicker: > 2) F4, alt+down, alt+up does't toggle calendar > 3) pressing alt+up/alt+down makes window to forward/back
Attachment #232435 - Flags: review?(doronr)
Attachment #232435 - Flags: review?(doronr) → review+
Attachment #232435 - Flags: review?(Olli.Pettay)
Attachment #232435 - Flags: review?(Olli.Pettay) → review+
checked into trunk for surkov. Leaving bug open at his request.
Whiteboard: xf-to-branch
(In reply to comment #1) > If we should act like comboboxes then I guess focus should be always in input > field, there we should handle navigation keys and forward them into calendar. > If we're typing date into input field then calendar should show typing date. > Right? > AaronLev, am I right?
Right, the DOM focus events should be on the main datepicker element, but the accessible focus events we fire from nsRootAccessible::HandleEventWithTarget() should be on any child element in the dropdown that becomes active. Your impl could fire a custom DOM event that nsRootAccessible maps to the accessible focus events. Also any time the value in the input field changes you should fire a custom ValueChange DOM event for it. That will cause the nsRootAccessible::HandleEventWithTarget() method to map that to accessible value change events.
I filed new bug 348690 about focus issues for datepicker. Marking this one as fixed.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
checked into 1.8.0 branch on 2006/09/21
Keywords: fixed1.8.0.8
checked into 1.8 branch on 2006/11/21
Keywords: fixed1.8.1.1
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: