2 is: 'paper-radio-button',
5 Polymer.PaperInkyFocusBehavior,
6 Polymer.IronCheckedElementBehavior
11 'aria-checked': false,
17 * Fired when the checked state changes due to user interaction.
23 * Fired when the checked state changes.
28 ariaActiveAttribute: {
33 attached: function() {
36 // Don't stomp over a user-set aria-label.
37 if (!this.getAttribute('aria-label')) {
38 this.updateAriaLabel();
43 * Update the checkbox aria-label. This is a temporary workaround not
44 * being able to observe changes in <content>
45 * (see: https://github.com/Polymer/polymer/issues/1773)
47 * Call this if you manually change the contents of the checkbox
48 * and want the aria-label to match the new contents.
50 updateAriaLabel: function() {
51 this.setAttribute('aria-label', Polymer.dom(this).textContent.trim());
54 _buttonStateChanged: function() {
59 this.checked = this.active;