Closed Bug 112803 Opened 23 years ago Closed 23 years ago

print dialog: radio buttons should use oncommand="..."

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: tan, Assigned: roland.mainz)

References

Details

(Keywords: access)

Attachments

(1 file)

Currently printdialog.xul uses onclick to capture events on the radio buttons, however, for a keyboard navigator, these events will never get fired. 1. Open Print dialog 2. Tab to you get to Print Range box 3. Press down to Page radio 4. Notice From and To text boxes are not enabled
--- /home/mozilla096/usr/lib/mozilla/chrome/content/global/printdialog.xul Fri +++ content/global/printdialog.xul Fri Nov 30 18:38:53 2001 @@ -81,15 +81,15 @@ <caption label="&printrangeGroup.label;"/> <radiogroup id="printrangeGroup"> - <radio id="allpagesRadio" label="&allpagesRadio.label;" oncommand="doPr + <radio id="allpagesRadio" label="&allpagesRadio.label;" onclick="doPrin <hbox align="center"> - <radio id="rangeRadio" label="&rangeRadio.label;" oncommand="doPrintR + <radio id="rangeRadio" label="&rangeRadio.label;" onclick="doPrintRan <label id="frompageLabel" control="frompageInput" value="&frompageInp <textbox id="frompageInput" style="width:5em;" onkeyup="checkInteger( <label id="topageLabel" control="topageInput" value="&topageInput.lab <textbox id="topageInput" style="width:5em;" onkeyup="checkInteger(th </hbox> - <radio id="selectionRadio" label="&selectionRadio.label;" oncommand = " + <radio id="selectionRadio" label="&selectionRadio.label;" onclick = "do </radiogroup> </groupbox>
roland
Assignee: rods → Roland.Mainz
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: access
bz: Is there any XUL/JS guru who can confirm that s/onclick/oncommand/ is the "right" thing to do ?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
just ask blake on irc. btw, timeless was saying that using onclick instead of oncommand in XUL is an offense worth being shot for. So yes, this should use oncommand. :)
hmm, I fixed some of those but obviously not all of them :( I have some other fixes, comments, cleanup changes in my tree for dialogs. I could submit them here?
Asko Tontti wrote: > I have some other fixes, comments, cleanup changes in my tree for dialogs. > I could submit them here? If the patches are for the print stuff "only" and/or if they are not "too" big then yes... othwise it may be better to open a new bug and make this bug "depend" on your one...
Changes are only for print dialog and print job dialog. I am now making test build but unfortantely it takes some time. After I have tested my patch I will attach it.
I have done some testing with it but it would be helpful if somebody else would also do testing.
Comment on attachment 59977 [details] [diff] [review] patch for replacing onclick + cleanup, more comments, removed dead code, ... r=Roland.Mainz@informatik.med.uni-giessen.de
Attachment #59977 - Flags: review+
Comment on attachment 59977 [details] [diff] [review] patch for replacing onclick + cleanup, more comments, removed dead code, ... rods: I need a moa= from you for the patch, please ...
Target Milestone: mozilla0.9.7 → mozilla0.9.8
I have incorporated the fix into Bug 113917
Depends on: 113917
Reporter: bug 113917 has been marked as FIXED - is this issue fixed for you, too - or is there still work required ?
Seems to be fixed. Marking bug as FIXED, please reopen when this bug is still an issue for you... Reporter: Can you please verify this bug ? Thanks!
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Roland please verify...thanks!
tan, please verify...thanks...
marking verified. REOPEN if still not fixed...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: