Skip to content

Commit

Permalink
a11y: update the aria-label and placeholder in search box (#2653)
Browse files Browse the repository at this point in the history
* a11y: update the aria-label and placeholder in search box

* update placeholder

* update the aris label

Co-authored-by: Corina <14900841+corinagum@users.noreply.github.com>
  • Loading branch information
lei9444 and corinagum authored Apr 16, 2020
1 parent 9bf98c7 commit 23bf3dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ export const ProjectTree: React.FC<IProjectTreeProps> = props => {
>
<div className="ProjectTree" css={root} data-testid="ProjectTree">
<SearchBox
placeholder={formatMessage('Filter Dialogs')}
ariaLabel={formatMessage('Type dialog name')}
placeholder={formatMessage('Filter Dialog')}
styles={searchBox}
onChange={onFilter}
iconProps={{ iconName: 'Filter' }}
Expand Down

0 comments on commit 23bf3dc

Please sign in to comment.