Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Dropdown: aria role is `listbox` instead of `textbox`",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "naethell@microsoft.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class Dropdown extends BaseComponent<IDropdownInternalProps, IDropdownSta
(errorMessage && errorMessage.length > 0 ? styles.titleIsError : null))
}
aria-atomic={ true }
role='textbox'
role='listbox'
aria-readonly='true'
>
{ // If option is selected render title, otherwise render the placeholder text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports[`Dropdown multi-select Renders multiselect Dropdown correctly 1`] = `
aria-readonly="true"
className="ms-Dropdown-title ms-Dropdown-titleIsPlaceHolder"
id="Dropdown94-option"
role="textbox"
role="listbox"
/>
<span
className="ms-Dropdown-caretDownWrapper"
Expand Down Expand Up @@ -76,7 +76,7 @@ exports[`Dropdown single-select Renders single-select Dropdown correctly 1`] = `
aria-readonly="true"
className="ms-Dropdown-title ms-Dropdown-titleIsPlaceHolder"
id="Dropdown0-option"
role="textbox"
role="listbox"
/>
<span
className="ms-Dropdown-caretDownWrapper"
Expand Down