The onKeyPress and onKeyUp not behaving as expected on the "anchor" element. Tested on the windows 2000(build windows 2001-12-14-06 trunk)
Created attachment 61806 [details] onkeypress and onkey up steps to reproduce: 1.open the attachment 2 [details] [diff] [review].put focus on the text "onkeypress" and hit any key 3.an alert box should open up saying "Key was pressed !" 4.do the same for the text "onkeyup" 5.click on the text "onClick", an alert box opens up saying "Mouse Clicked!".
changing qa contact
QA Contact: madhur → rakeshmishra
Typically anchor's without href's are not focusable items (and therefore cannot receive key events). I cannot find a specific definition of this in the W3C spec but it is the behavior followed by Netscape 4.x, Mozilla, and IE. If hrefs are added to the anchor they will behave properly.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WONTFIX
VERIFIED WONTFIX (or INVALID -- unfocussable elements can't receive key events)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.