Skip to content

Commit 282a8d6

Browse files
authored
Merge pull request desktop#17488 from desktop/branch-filter-aria-label
Add `aria-label` to "compare" filter textbox
2 parents df91626 + 756b259 commit 282a8d6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/src/ui/history/compare.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export class CompareSidebar extends React.Component<
159159
<div id="compare-view" role="tabpanel" aria-labelledby="history-tab">
160160
<div className="compare-form">
161161
<FancyTextBox
162+
ariaLabel="Branch filter"
162163
symbol={OcticonSymbol.gitBranch}
163164
displayClearButton={true}
164165
placeholder={placeholderText}

app/src/ui/lib/fancy-text-box.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class FancyTextBox extends React.Component<
3838
<div className={componentCSS}>
3939
<Octicon className={octiconCSS} symbol={this.props.symbol} />
4040
<TextBox
41+
ariaLabel={this.props.ariaLabel}
4142
value={this.props.value}
4243
onFocus={this.onFocus}
4344
onBlur={this.onBlur}

0 commit comments

Comments
 (0)