W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2017

RE: Should Datepickers be treated as a Modal Dialog?

From: Lovely, Brian <Brian.Lovely@capitalone.com>
Date: Thu, 16 Nov 2017 15:21:00 +0000
To: Jonathan Avila <jon.avila@levelaccess.com>, W3C WAI Interest Group <w3c-wai-ig@w3.org>
Message-ID: <CO1P103MB013514493EC817AE1B9F415BEE2E0@CO1P103MB0135.NAMP103.PROD.OUTLOOK.COM>
If the datepicker is in the form of a modal (a widget with its own close button, and presumably atop a semi-opaque overlay) that temporarily supersedes all other activity, then it should trap focus like a modal. Otherwise, a user could accidently navigate away from the widget and become confused.

I don't see it as any different from a modal containing a small form. I would treat it as a modal dialog, including the role of dialog on the container.

Every example of an "accessible" date picker I have looked at online does not treat the datepicker as a modal dialog. Is this because it is not a seen as a modal dialog but rather a specific task based widget? Should the datepicker container <div> take on the same characteristics as a modal such as hiding the background from screen readers when the datepicker calendar is active?


The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
Received on Thursday, 16 November 2017 15:21:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:37:11 UTC