- From: James Craig <jcraig@apple.com>
- Date: Thu, 08 Nov 2012 14:04:04 -0800
- To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
- Cc: HTML Accessibility Task Force <public-html-a11y@w3.org>, Ted O'Connor <eoconnor@apple.com>
- Message-id: <57E76E77-AD1D-4F6A-8D45-44D870171E13@apple.com>
Thanks for pointing that out. This part is indeed covered, so I'll switch back to the other thread for my follow-up question. http://www.w3.org/TR/html5/editing.html#inert-subtrees On Nov 8, 2012, at 1:29 PM, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote: > There's step 6: > > Let dialog's Document be blocked by the modal dialog dialog. > > BTW: I think spec-preview was an intermediate document that was created as part of switching editors. It is probably irrelevant now and should be removed. > > On Fri, Nov 9, 2012 at 8:16 AM, James Craig <jcraig@apple.com> wrote: > Quoting from ~"When showModal() is invoked:" >> Let control be the first element in tree order whose nearest ancestor dialog element is dialog and that has an autofocus attribute specified, if any. > > > I don't think that resolves my concern. Yes, this states an element inside the dialog should become focused upon showing the dialog, but it does not state that other document content outside the dialog should become non-focusable while a "modal" dialog is shown. > > James > > PS. What's the difference between spec and spec-preview? I thought I was looking at the latest spec. > > > On Nov 8, 2012, at 12:59 PM, Silvia Pfeiffer <silviapfeiffer1@gmail.com> wrote: > >> You might want to check the latest spec: >> http://dev.w3.org/html5/spec/single-page.html#dom-dialog-showmodal >> >> There is a step in there that speaks about autofocus. I think that resolves the interaction issues. >> >> Regards, >> Silvia. >> >> On Fri, Nov 9, 2012 at 7:48 AM, James Craig <jcraig@apple.com> wrote: >> One clarification inline. >> >> On Nov 8, 2012, at 12:46 PM, James Craig <jcraig@apple.com> wrote: >> >> > I don't see a definition for "modal" in the spec section for the dialog element. >> > http://dev.w3.org/html5/spec-preview/commands.html#the-dialog-element >> > >> > Presumably dialog.showModal() would prevent interaction >> >> In case it's not clear, I should clarify I meant prevent interaction *of background contents* not of content inside the dialog. >> >> > in any modality (including keyboard focusability), but as far as I can see, it does not state anything to that effect. Unless I hear a correction, I'll file a defect. >> > >> > >> > >> >> >> > >
Received on Thursday, 8 November 2012 22:05:27 UTC