[whatwg] Modal Dialog Focus

2012-10-22 Thread Scott González
The dialog.showModal() function defines steps for setting focus [1]. However, if the dialog does not contain any elements with the autofocus attribute, then step 9 says to abort the steps and not set focus. It seems problematic if the dialog is modal and does not have focus. How would a keyboard

Re: [whatwg] Modal Dialog Focus

2012-10-22 Thread Ian Hickson
On Mon, 22 Oct 2012, Scott González wrote: The dialog.showModal() function defines steps for setting focus. However, if the dialog does not contain any elements with the autofocus attribute, then step 9 says to abort the steps and not set focus. It seems problematic if the dialog is modal