| OLD | NEW |
| 1 | 1 |
| 2 <!--- | 2 <!--- |
| 3 | 3 |
| 4 This README is automatically generated from the comments in these files: | 4 This README is automatically generated from the comments in these files: |
| 5 paper-dialog-behavior.html | 5 paper-dialog-behavior.html |
| 6 | 6 |
| 7 Edit those files, and our readme bot will duplicate them over here! | 7 Edit those files, and our readme bot will duplicate them over here! |
| 8 Edit this file, and the bot will squash your changes :) | 8 Edit this file, and the bot will squash your changes :) |
| 9 | 9 |
| 10 The bot does some handling of markdown. Please file a bug if it does the wrong | 10 The bot does some handling of markdown. Please file a bug if it does the wrong |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 Use the `dialog-dismiss` and `dialog-confirm` attributes on interactive controls
to close the | 42 Use the `dialog-dismiss` and `dialog-confirm` attributes on interactive controls
to close the |
| 43 dialog. If the user dismisses the dialog with `dialog-confirm`, the `closingReas
on` will update | 43 dialog. If the user dismisses the dialog with `dialog-confirm`, the `closingReas
on` will update |
| 44 to include `confirmed: true`. | 44 to include `confirmed: true`. |
| 45 | 45 |
| 46 ### Accessibility | 46 ### Accessibility |
| 47 | 47 |
| 48 This element has `role="dialog"` by default. Depending on the context, it may be
more appropriate | 48 This element has `role="dialog"` by default. Depending on the context, it may be
more appropriate |
| 49 to override this attribute with `role="alertdialog"`. | 49 to override this attribute with `role="alertdialog"`. |
| 50 | 50 |
| 51 If `modal` is set, the element will set `aria-modal` and prevent the focus from
exiting the element. | 51 If `modal` is set, the element will prevent the focus from exiting the element. |
| 52 It will also ensure that focus remains in the dialog. | 52 It will also ensure that focus remains in the dialog. |
| 53 | 53 |
| 54 | 54 |
| OLD | NEW |