Closed
Bug 345224
Opened 19 years ago
Closed 19 years ago
datepicker ally issues
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: surkov)
References
Details
(Keywords: fixed1.8.0.8, fixed1.8.1.1)
Attachments
(1 file)
|
4.81 KB,
patch
|
doronr
:
review+
smaug
:
review+
|
Details | Diff | Splinter Review |
datepicker should be consistent with http://www.mozilla.org/access/toolkit-checklist ("Lists and combo boxes section").
| Assignee | ||
Comment 1•19 years ago
|
||
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?
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•19 years ago
|
||
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)
Updated•19 years ago
|
Attachment #232435 -
Flags: review?(doronr) → review+
| Assignee | ||
Updated•19 years ago
|
Attachment #232435 -
Flags: review?(Olli.Pettay)
Updated•19 years ago
|
Attachment #232435 -
Flags: review?(Olli.Pettay) → review+
checked into trunk for surkov. Leaving bug open at his request.
Whiteboard: xf-to-branch
| Assignee | ||
Comment 4•19 years ago
|
||
(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?
Comment 5•19 years ago
|
||
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.
| Assignee | ||
Comment 6•19 years ago
|
||
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 branch on 2006/11/21
Keywords: fixed1.8.1.1
Whiteboard: xf-to-branch
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•