Theme colour switcher

Blog Topic: modal dialogs

A really common pattern for modal dialogs is that when the dialog is opened, focus is taken to the dialog container. This is despite the fact that the W3C Web Accessibility Initiative modal dialog tutorial (and pretty much any modal dialog example/tutorial I've ever seen) tells people to take focus to something inside the dialog. Focusing the dialog container can cause accessibility problems: in…

Continue reading Don't focus the modal dialog container when opening a dialog