Skip to content

Commit

Permalink
Fix #5446: MultiSelect ARIA roles
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Feb 16, 2024
1 parent 9c9653f commit d4a3b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/lib/multiselect/MultiSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ export const MultiSelect = React.memo(
onFocus: onFocus,
onBlur: onBlur,
onKeyDown: onKeyDown,
role: 'listbox',
role: 'combobox',
'aria-expanded': overlayVisibleState,
disabled: props.disabled,
tabIndex: !props.disabled ? props.tabIndex : -1,
Expand Down
2 changes: 1 addition & 1 deletion components/lib/multiselect/MultiSelectHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const MultiSelectHeader = React.memo((props) => {
<InputText
ref={props.filterRef}
type="text"
role="textbox"
role="searchbox"
value={props.filterValue}
onChange={onFilter}
className="p-multiselect-filter"
Expand Down

0 comments on commit d4a3b5b

Please sign in to comment.