Closed Bug 193629 Opened 22 years ago Closed 22 years ago

accesskey can take effect on a disabled XUL widget

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: yuanyi21, Assigned: yuanyi21)

References

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 in Preferences/Language page, the first "Uninstall" button is grayed and can not be clicked, but if you press Alt+n, the "English(US)" will be uninstalled.
sorry, the page should be "Preferences->Appearance->Languages/Content".
looking at nsEventStateManager::HandleAccessKey, there is not any code to check the nsHTMLAtoms::disabled attribute.
Summary: accesskey can take effect on a disabled button → accesskey can take effect on a disabled widget (XUL and HTML)
taking...
Assignee: aaronl → kyle.yuan
Summary: accesskey can take effect on a disabled widget (XUL and HTML) → accesskey can take effect on a disabled XUL widget
like what we did in the Focus() handler.
Attachment #115347 - Flags: review?(aaronl)
Comment on attachment 115347 [details] [diff] [review] check "disabled" attribute in the Click() handler r=aaronl
Attachment #115347 - Flags: review?(aaronl) → review+
Attachment #115347 - Flags: superreview?(jaggernaut)
Comment on attachment 115347 [details] [diff] [review] check "disabled" attribute in the Click() handler sr=jag
Attachment #115347 - Flags: superreview?(jaggernaut) → superreview+
checked in!
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
vrfy'd fixed on win2k and linux rh8.0, 2003.02.27.09.
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: