Skip to content

Commit 3ce0c86

Browse files
authored
fix(search): resolve descrepancy in close button aria-label prop (#18383)
1 parent e8b71a4 commit 3ce0c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web-components/src/components/search/search.stories.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const Expandable = {
117117
<cds-search
118118
size="lg"
119119
expandable
120-
close-button-assistive-text="Clear search input"
120+
close-button-label-text="Clear search input"
121121
label-text="Search"
122122
placeholder="Find your items"
123123
type="text"></cds-search>
@@ -173,7 +173,7 @@ export const Playground = {
173173
return html`
174174
<cds-search
175175
autocomplete="${autoComplete}"
176-
close-button-assistive-text="${ifDefined(closeButtonLabelText)}"
176+
close-button-label-text="${ifDefined(closeButtonLabelText)}"
177177
color-scheme="${ifDefined(colorScheme)}"
178178
?disabled="${disabled}"
179179
label-text="${ifDefined(labelText)}"

0 commit comments

Comments
 (0)