Skip to content

Commit 8c79764

Browse files
updated aria labels
Co-authored-by: Eric Olkowski <70952936+thatblindgeye@users.noreply.github.com>
1 parent 09958d9 commit 8c79764

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/react-core/src/components/SearchInput/examples/SearchInputAdvanced.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const SearchInputAdvanced: React.FunctionComponent = () => {
3232
/>
3333
<br />
3434
<SearchInput
35-
aria-label="Advanced search input"
35+
aria-label="Advanced search"
3636
attributes={[
3737
{ attr: 'username', display: 'Username' },
3838
{ attr: 'firstname', display: 'First name' }

packages/react-core/src/components/SearchInput/examples/SearchInputBasic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const SearchInputBasic: React.FunctionComponent = () => {
1010

1111
return (
1212
<SearchInput
13-
aria-label="Basic"
13+
aria-label="Search basic example"
1414
placeholder="Find by name"
1515
value={value}
1616
onChange={(_event, value) => onChange(value)}

packages/react-core/src/components/SearchInput/examples/SearchInputFocusSearch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const SearchInputFocusSearch: React.FunctionComponent = () => {
1212
value={value}
1313
onChange={(_event, value) => setValue(value)}
1414
onClear={() => setValue('')}
15-
aria-label="Focus search input using ref"
15+
aria-label="Search focus using ref example"
1616
/>
1717
<Button onClick={() => ref.current && ref.current.focus()}>Focus on the search input</Button>
1818
</>

packages/react-core/src/components/SearchInput/examples/SearchInputWithExpandable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const SearchInputWithExpandable: React.FunctionComponent = () => {
1515

1616
return (
1717
<SearchInput
18-
aria-label="With expandable button"
18+
aria-label="Search with expandable button example"
1919
placeholder="Find by name"
2020
value={value}
2121
onChange={(_event, value) => onChange(value)}

packages/react-core/src/components/SearchInput/examples/SearchInputWithNavigableOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const SearchInputWithNavigableOptions: React.FunctionComponent = () => {
2929

3030
return (
3131
<SearchInput
32-
aria-label="Match with navigable options"
32+
aria-label="Search match with navigable options example"
3333
placeholder="Find by name"
3434
value={value}
3535
onChange={(_event, value) => onChange(value)}

0 commit comments

Comments
 (0)