Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
| 4 | 4 |
| 5 <dom-module id="cr-expand-button"> | 5 <dom-module id="cr-expand-button"> |
| 6 <link rel="import" type="css" href="chrome://resources/cr_elements/shared.css" > | 6 <link rel="import" type="css" href="chrome://resources/cr_elements/shared.css" > |
| 7 <link rel="import" type="css" href="cr_expand_button.css"> | 7 <link rel="import" type="css" href="cr_expand_button.css"> |
| 8 <template> | 8 <template> |
| 9 <content></content> | 9 <content></content> |
| 10 <paper-icon-button toggles active="{{expanded}}" disabled="[[disabled]]" | 10 <paper-icon-button toggles active="{{expanded}}" disabled="[[disabled]]" |
| 11 icon="[[iconName_(expanded)]]"> | 11 icon="[[iconName_(expanded)]]" aria-active-attribute="aria-expanded"> |
|
michaelpg
2016/09/07 22:38:42
shouldn't this reference *what* it expands?
hcarmona
2016/09/26 18:22:51
Only one screen reader supports this property and
| |
| 12 </paper-icon-button> | 12 </paper-icon-button> |
| 13 </template> | 13 </template> |
| 14 <script src="cr_expand_button.js"></script> | 14 <script src="cr_expand_button.js"></script> |
| 15 </dom-module> | 15 </dom-module> |
| OLD | NEW |