Skip to content

Commit c8ad1ac

Browse files
committed
chore: test cases added - draft
1 parent 011a221 commit c8ad1ac

File tree

2 files changed

+1114
-4
lines changed

2 files changed

+1114
-4
lines changed

elements/pf-search-input/pf-search-input.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ export class PfSearchInput extends LitElement {
188188
</div>
189189
<pf-text-input
190190
icon="search"
191-
accessible-label="search"
192191
id="toggle-input"
193192
?disabled="${disabled}"
194193
@keydown=${this.#onSearchInput}
@@ -203,9 +202,10 @@ export class PfSearchInput extends LitElement {
203202
>
204203
<pf-icon size="md" icon="close" set="patternfly">close</pf-icon>
205204
</pf-button>
206-
<div class="visually-hidden" id="toggle-button"></div>
205+
<button aria-label="toggle button" inert class="visually-hidden" id="toggle-button"></button>
207206
</div>
208207
<div
208+
209209
id="listbox-container"
210210
?hidden="${!expanded}"
211211
style="${styleMap({

0 commit comments

Comments
 (0)