Skip to content

Commit

Permalink
fix(DropdownSearchInput): remove wrong aria-labelledby (#19182)
Browse files Browse the repository at this point in the history
* fix(DropdownSearchInput): remove wrong aria-labelledby

* remove log

* apply proper solution

* chore: add changelog
  • Loading branch information
chpalac authored Jul 29, 2021
1 parent 38c3b24 commit 0301b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/fluentui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fix `Carousel` glitch in last slide @chassunc ([#19129](https://github.com/microsoft/fluentui/pull/19129))
- Fix `FormTextArea` required styles @chassunc ([#19164](https://github.com/microsoft/fluentui/pull/19164))
- Fix `Button` icon only styles when disabledFocusable @chassunc ([#19180](https://github.com/microsoft/fluentui/pull/19180))
- Fix `Dropdown` creating unnecessary `aria-labelledby` for `DropdownSearchInput` @chassunc ([#19182](https://github.com/microsoft/fluentui/pull/19182))

### Features
- Add Onyx 600, Silver 100 to color palette and some color tokens @codepretty ([#18827](https://github.com/microsoft/fluentui/pull/18827))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ export const Dropdown: ComponentWithAs<'div', DropdownProps> &
// https://github.com/facebook/react/issues/955#issuecomment-469352730
setSearchQuery(e.target.value);
},
'aria-labelledby': null,
}),
},
// same story as above for getRootProps.
Expand Down

0 comments on commit 0301b34

Please sign in to comment.