RE: Should Datepickers be treated as a Modal Dialog?

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