- From: <bugzilla@jessica.w3.org>
- Date: Sun, 26 Sep 2010 06:36:01 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10559 anatoly techtonik <techtonik@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|NEEDSINFO | Summary|With Rietveld we have the |blur() is handy, and should |opposite problem - keyboard |not be ignored |shortcut is used to call | |dialog box with a textarea. | |When user clicks "Esc" | |dialog hides, but the focus | |stays in textarea | |preventing interaction with | |other keys. document.body | |is not focusable | Summary|and sav | --- Comment #2 from anatoly techtonik <techtonik@gmail.com> 2010-09-26 06:36:01 --- You do not recommend to use blur(). More than that - you allow browsers to ignore calls to blur(), and this creates problem in the above user story. 1. you have focused element that user hides by pressing a key (textarea) 2. you need to remove focus that stays on hidden element 3. you can't do body.focus(), because body is not focusable 4. previous element saved in activeElement may not be focusable also 5. so you need to go up the DOM tree to find first focusable element using your custom JavaScript.. ..instead of just calling blur(). -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Sunday, 26 September 2010 06:36:03 UTC