diff --git a/source b/source index 68946cb3282..14367c780e3 100644 --- a/source +++ b/source @@ -69039,14 +69039,14 @@ customElements.define('my-checkbox', MyCheckbox); this.addEventListener('click', this._onClick.bind(this)); this._internals.role = 'checkbox'; - this._internals.ariaChecked = false; + this._internals.ariaChecked = 'false'; } get form() { return this._internals.form; } get name() { return this.getAttribute('name'); } get type() { return this.localName; } - get checked() { return this.getAttribute('checked'); } + get checked() { return this.hasAttribute('checked'); } set checked(flag) { this.toggleAttribute('checked', Boolean(flag)); } attributeChangedCallback(name, oldValue, newValue) {