Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Side by Side Diff: ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html

Issue 2441043004: Accessibility fixes for quick unlock settings. (Closed)
Patch Set: Use aria-label instead of alt Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
5 5
6 <dom-module id="cr-dialog"> 6 <dom-module id="cr-dialog">
7 <template> 7 <template>
8 <style> 8 <style>
9 :host { 9 :host {
10 border: 0; 10 border: 0;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 :host ::content .footer { 85 :host ::content .footer {
86 background-color: var(--paper-grey-200); 86 background-color: var(--paper-grey-200);
87 border-bottom-left-radius: inherit; 87 border-bottom-left-radius: inherit;
88 border-bottom-right-radius: inherit; 88 border-bottom-right-radius: inherit;
89 margin: 0; 89 margin: 0;
90 padding: 12px 20px; 90 padding: 12px 20px;
91 } 91 }
92 </style> 92 </style>
93 <div class="title-container"> 93 <div class="title-container">
94 <content select=".title"></content> 94 <content select=".title"></content>
95 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"> 95 <paper-icon-button icon="cr:clear" on-tap="cancel" id="close"
96 aria-label$="[[closeText]]">
96 </paper-icon-button> 97 </paper-icon-button>
97 </div> 98 </div>
98 <div class="body-container"> 99 <div class="body-container">
99 <content select=".body"></content> 100 <content select=".body"></content>
100 </div> 101 </div>
101 <content select=".button-container"></content> 102 <content select=".button-container"></content>
102 <content select=".footer"></content> 103 <content select=".footer"></content>
103 </template> 104 </template>
104 <script src="cr_dialog.js"></script> 105 <script src="cr_dialog.js"></script>
105 </dom-module> 106 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698