Skip to content

Commit

Permalink
remove aria-owns override
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescdavis committed Mar 2, 2022
1 parent 7f8dc10 commit 1d131bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion addon/components/power-select.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
aria-invalid={{@ariaInvalid}}
aria-label={{@ariaLabel}}
aria-labelledby={{@ariaLabelledBy}}
aria-owns=""
aria-required={{@required}}
role={{or @triggerRole "button"}}
title={{@title}}
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/components/power-select/a11y-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ module('Integration | Component | Ember Power Select (Accessibility)', function(
await clickTrigger();

assert.dom('.ember-power-select-trigger').hasAttribute('aria-haspopup', 'listbox');
assert.dom('.ember-power-select-trigger').hasAttribute('aria-owns', '');
assert.dom('.ember-power-select-trigger').hasAttribute('aria-owns', /ember-basic-dropdown-content-ember\d+/);
assert.dom('.ember-power-select-trigger').hasAttribute('aria-controls', document.querySelector('.ember-power-select-options').id);
});

Expand Down

0 comments on commit 1d131bc

Please sign in to comment.