Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Fix invalid aria attributes in material dropdown select.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 205317442
  • Loading branch information
cissyshi authored and nshahan committed Jul 20, 2018
1 parent d81eb4c commit 35fe9b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/material_select/dropdown_button.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
[disabled]="disabled"
[role]="ariaRole"
[attr.aria-haspopup]="popupType"
aria-autocomplete="none"
[attr.aria-owns]="ariaOwns"
[attr.aria-expanded]="ariaExpanded"
[attr.aria-activedescendant]="ariaActiveDescendant">
Expand Down
3 changes: 2 additions & 1 deletion lib/material_select/material_dropdown_select.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
(trigger)="handleClick($event)"
popupSource
#source="popupSource"
initPopupAriaAttributes="false"
popupType="listbox"
[ariaOwns]="listId"
[ariaOwns]="visible ? listId : null"
[ariaExpanded]="visible">
&ngsp;<ng-content select="[buttonContent]"></ng-content>
</dropdown-button>
Expand Down

0 comments on commit 35fe9b8

Please sign in to comment.