diff --git a/coral-component-datepicker/src/scripts/Datepicker.js b/coral-component-datepicker/src/scripts/Datepicker.js index c704fcdd00..d7d4f48e0e 100644 --- a/coral-component-datepicker/src/scripts/Datepicker.js +++ b/coral-component-datepicker/src/scripts/Datepicker.js @@ -607,7 +607,6 @@ const Datepicker = Decorator(class extends BaseFormField(BaseComponent(HTMLEleme // Input attributes per ARIA Autocomplete this._elements.input.setAttribute('role', 'combobox'); this._elements.input.setAttribute('aria-autocomplete', 'none'); - this._elements.input.setAttribute('aria-haspopup', 'dialog'); this._elements.input.setAttribute('aria-expanded', this._elements.overlay.open); this._elements.input.setAttribute('aria-controls', this._elements.overlay.id); @@ -831,7 +830,6 @@ const Datepicker = Decorator(class extends BaseFormField(BaseComponent(HTMLEleme // Input attributes per ARIA Autocomplete this._elements.input.setAttribute('role', 'combobox'); this._elements.input.setAttribute('aria-autocomplete', 'none'); - this._elements.input.setAttribute('aria-haspopup', 'dialog'); this._elements.input.setAttribute('aria-expanded', 'false'); this._elements.input.setAttribute('aria-controls', this._elements.overlay.id); diff --git a/coral-component-datepicker/src/tests/test.Datepicker.js b/coral-component-datepicker/src/tests/test.Datepicker.js index a99ec4812e..f3dd9cfd0b 100644 --- a/coral-component-datepicker/src/tests/test.Datepicker.js +++ b/coral-component-datepicker/src/tests/test.Datepicker.js @@ -957,7 +957,6 @@ describe('Datepicker', function () { expect(el.getAttribute('role')).to.equal('group'); expect(el._elements.input.getAttribute('role')).to.equal('combobox'); - expect(el._elements.input.getAttribute('aria-haspopup')).to.equal('dialog'); expect(el._elements.input.getAttribute('aria-expanded')).to.equal('false'); expect(el._elements.toggle.getAttribute('aria-haspopup')).to.equal('dialog'); expect(el._elements.toggle.getAttribute('aria-expanded')).to.equal('false');