Skip to content

Commit

Permalink
Remove ariaResultsLabel form autosuggest (#3471)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar authored Jan 14, 2025
1 parent 6e74cee commit dcd86d8
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/components/address-input/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ describe('FOR: Macro: Address-input', () => {
ariaYouHaveSelected: '[params.ariaYouHaveSelected]',
ariaMinChars: '[params.ariaMinChars]',
minChars: '[params.minChars]',
ariaResultsLabel: '[params.ariaResultsLabel]',
ariaOneResult: '[params.ariaOneResult]',
ariaNResults: '[params.ariaNResults]',
ariaLimitedResults: '[params.ariaLimitedResults]',
Expand Down
1 change: 0 additions & 1 deletion src/components/address-input/autosuggest.address.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const EXAMPLE_ADDRESS_INPUT = {
ariaYouHaveSelected: 'You have selected',
ariaMinChars: 'Enter 3 or more characters for suggestions.',
minChars: 3,
ariaResultsLabel: 'Country suggestions',
ariaOneResult: 'There is one suggestion available.',
ariaNResults: 'There are {n} suggestions available.',
ariaLimitedResults: 'Type more characters to improve your search',
Expand Down
2 changes: 0 additions & 2 deletions src/components/autosuggest/autosuggest.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const EXAMPLE_AUTOSUGGEST = {
ariaYouHaveSelected: 'You have selected',
ariaMinChars: 'Enter 3 or more characters for suggestions.',
minChars: 3,
ariaResultsLabel: 'Country suggestions',
ariaOneResult: 'There is one suggestion available.',
ariaNResults: 'There are {n} suggestions available.',
ariaLimitedResults: 'Type more characters to improve your search',
Expand All @@ -40,7 +39,6 @@ const EXAMPLE_AUTOSUGGEST_WITH_LANGUAGE = {
ariaYouHaveSelected: 'You have selected',
ariaMinChars: 'Enter 3 or more characters for suggestions.',
minChars: 3,
ariaResultsLabel: 'Country suggestions',
ariaOneResult: 'There is one suggestion available.',
ariaNResults: 'There are {n} suggestions available.',
ariaLimitedResults: 'Type more characters to improve your search',
Expand Down
1 change: 0 additions & 1 deletion src/components/header/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@ describe('FOR: Macro: Header', () => {
ariaMinChars: 'Enter 3 or more characters for suggestions.',
ariaNResults: 'There are {n} suggestions available.',
ariaOneResult: 'There is one suggestion available.',
ariaResultsLabel: 'Country suggestions',
ariaYouHaveSelected: 'You have selected',
containerClasses: 'ons-autosuggest--header',
id: 'ons-site-search',
Expand Down
1 change: 0 additions & 1 deletion src/components/header/_test-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export const EXAMPLE_HEADER_NAVIGATION_WITH_SITESEARCHAUTOSUGGEST = {
ariaYouHaveSelected: 'You have selected',
ariaMinChars: 'Enter 3 or more characters for suggestions.',
minChars: 3,
ariaResultsLabel: 'Country suggestions',
ariaOneResult: 'There is one suggestion available.',
ariaNResults: 'There are {n} suggestions available.',
ariaLimitedResults: 'Type more characters to improve your search',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"instructions": "instructions",
"ariaYouHaveSelected": "ariaYouHaveSelected",
"ariaMinChars": "ariaMinChars",
"ariaResultsLabel": "ariaResultsLabel",
"ariaOneResult": "ariaOneResult",
"ariaNResults": "ariaNResults",
"ariaLimitedResults": "ariaLimitedResults",
Expand Down
1 change: 0 additions & 1 deletion src/components/navigation/_macro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"ariaYouHaveSelected":params.siteSearchAutosuggest.ariaYouHaveSelected,
"minChars": params.siteSearchAutosuggest.minChars,
"ariaMinChars": params.siteSearchAutosuggest.ariaMinChars,
"ariaResultsLabel": params.siteSearchAutosuggest.ariaResultsLabel,
"ariaOneResult": params.siteSearchAutosuggest.ariaOneResult,
"ariaNResults": params.siteSearchAutosuggest.ariaNResults,
"ariaLimitedResults": params.siteSearchAutosuggest.ariaLimitedResults,
Expand Down
1 change: 0 additions & 1 deletion src/components/navigation/_macro.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const SITE_SEARCH_AUTOSUGGEST = {
"Use up and down keys to navigate results once you've typed more than two characters. Use the enter key to select a result. Touch device users, explore by touch or with swipe gestures.",
ariaYouHaveSelected: 'You have selected',
ariaMinChars: 'Enter 3 or more characters for results.',
ariaResultsLabel: 'Search results',
ariaOneResult: 'There is one result available.',
ariaNResults: 'There are {n} results available.',
ariaLimitedResults: 'Results have been limited to 10 results. Type more characters to improve your search',
Expand Down

0 comments on commit dcd86d8

Please sign in to comment.