Skip to content

Commit dc98108

Browse files
committed
Merge branch '2887-pf-text-input-autocomplete' of github.com:patternfly/patternfly-elements into 2887-pf-text-input-autocomplete
2 parents 4ce4511 + 485a8d8 commit dc98108

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

elements/pf-search-input/docs/pf-search-input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import '@patternfly/elements/pf-search-input/pf-search-input.js';
4343

4444
{% band header="Accessibility" %}
4545

46-
The select uses the [Combobox Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/) recommendations from the WAI ARIA [Authoring Best Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg).
46+
The search input uses the [Combobox Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/) recommendations from the WAI ARIA [Authoring Best Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg).
4747

4848
When the dropdown is disabled it follows [WAI ARIA focusability recommendations](https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#focusabilityofdisabledcontrols) for composite widget elements, where dropdown items are still focusable even when the dropdown is disabled.
4949

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class PfSearchChangeEvent extends Event {
3434
* their own keywords to filter or locate results. It includes a clear (×) button to easily
3535
* remove the current input, allowing users to start a new search quickly.
3636
* @slot - insert `pf-option` here
37-
* @slot placeholder - placeholder text for the select. Overrides the `placeholder` attribute.
37+
* @slot placeholder - placeholder text for the search input. Overrides the `placeholder` attribute.
3838
* @fires open - when the menu toggles open
3939
* @fires close - when the menu toggles closed
4040
* @cssprop [--pf-c-search-input__toggle--PaddingTop=var(--pf-global--spacer--form-element, 0.375rem)]
@@ -113,16 +113,16 @@ export class PfSearchInput extends LitElement {
113113

114114
static instances: Set<PfSearchInput> = new Set<PfSearchInput>();
115115

116-
/** Accessible label for the select */
116+
/** Accessible label for the search input */
117117
@property({ attribute: 'accessible-label' }) accessibleLabel?: string;
118118

119119
/** Multi listbox button text */
120120
@property({ attribute: 'items-selected-text' }) itemsSelectedText = 'items selected';
121121

122-
/** Whether the select is disabled */
122+
/** Whether the search input is disabled */
123123
@property({ type: Boolean, reflect: true }) disabled = false;
124124

125-
/** Whether the select listbox is expanded */
125+
/** Whether the search input's listbox is expanded */
126126
@property({ type: Boolean, reflect: true }) expanded = false;
127127

128128
/**

0 commit comments

Comments
 (0)