-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dialog vs. alertdialog #1799
Comments
Agree. It seems like any possible difference will be really minor. I see this difference:
If there are no other practical differences for the user, then perhaps we should deprecate alert dialog. |
another potential difference would be a |
Weird, but ok. I would have thought the opposite maybe? :) |
@aleventhal maybe something else for us to talk out then. I'm curious as to why you'd think the opposite. |
I guess the main difference is the behavior when the browser window doesn't have the focus.
|
@JAWS-test thanks, that's interesting. |
What's the actual difference between a dialog and a alertdialog?
An alertdialog is a subclass of dialog and should be modal, just like a dialog. Both roles expect the focus to be within the dialog. The only apparent difference is that an alertdialog should convey a message to alert the user. In practice, though, I think screen readers will just read out the content of dialogs even though there is no alert.
Can someone give me specific use cases for each?
The text was updated successfully, but these errors were encountered: