| Index: third_party/polymer/components/paper-dialog-behavior/paper-dialog-behavior.html
|
| diff --git a/third_party/polymer/components/paper-dialog-behavior/paper-dialog-behavior.html b/third_party/polymer/components/paper-dialog-behavior/paper-dialog-behavior.html
|
| index ea1aeb2ab44588b45fdb27ab78cec02de861ca01..6b45ddd160132ee2746378cc0e46ef390ca22362 100644
|
| --- a/third_party/polymer/components/paper-dialog-behavior/paper-dialog-behavior.html
|
| +++ b/third_party/polymer/components/paper-dialog-behavior/paper-dialog-behavior.html
|
| @@ -10,10 +10,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
| <link rel="import" href="../polymer/polymer.html">
|
| <link rel="import" href="../iron-overlay-behavior/iron-overlay-behavior.html">
|
| -<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
|
| -<link rel="import" href="../paper-styles/default-theme.html">
|
| -<link rel="import" href="../paper-styles/typography.html">
|
| -<link rel="import" href="../paper-styles/shadow.html">
|
|
|
| <script>
|
|
|
| @@ -40,24 +36,12 @@ Use the `dialog-dismiss` and `dialog-confirm` attributes on interactive controls
|
| dialog. If the user dismisses the dialog with `dialog-confirm`, the `closingReason` will update
|
| to include `confirmed: true`.
|
|
|
| -### Styling
|
| -
|
| -The following custom properties and mixins are available for styling.
|
| -
|
| -Custom property | Description | Default
|
| -----------------|-------------|----------
|
| -`--paper-dialog-background-color` | Dialog background color | `--primary-background-color`
|
| -`--paper-dialog-color` | Dialog foreground color | `--primary-text-color`
|
| -`--paper-dialog` | Mixin applied to the dialog | `{}`
|
| -`--paper-dialog-title` | Mixin applied to the title (`<h2>`) element | `{}`
|
| -`--paper-dialog-button-color` | Button area foreground color | `--default-primary-color`
|
| -
|
| ### Accessibility
|
|
|
| This element has `role="dialog"` by default. Depending on the context, it may be more appropriate
|
| to override this attribute with `role="alertdialog"`.
|
|
|
| -If `modal` is set, the element will set `aria-modal` and prevent the focus from exiting the element.
|
| +If `modal` is set, the element will prevent the focus from exiting the element.
|
| It will also ensure that focus remains in the dialog.
|
|
|
| @hero hero.svg
|
| @@ -100,12 +84,6 @@ It will also ensure that focus remains in the dialog.
|
| },
|
|
|
| _modalChanged: function(modal, readied) {
|
| - if (modal) {
|
| - this.setAttribute('aria-modal', 'true');
|
| - } else {
|
| - this.setAttribute('aria-modal', 'false');
|
| - }
|
| -
|
| // modal implies noCancelOnOutsideClick, noCancelOnEscKey and withBackdrop.
|
| // We need to wait for the element to be ready before we can read the
|
| // properties values.
|
|
|