Skip to content

Commit

Permalink
Add role to FocusZone in BasePickerListBelow (#10867)
Browse files Browse the repository at this point in the history
* role

* Change files
  • Loading branch information
mattlind authored and joschect committed Oct 28, 2019
1 parent 58691b0 commit d78a5c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": " Added role to the selection list for BasePickerListBelow control so screen readers will read off \"n\" of \"m\" when arrowing through the list.",
"packageName": "office-ui-fabric-react",
"email": "malind@microsoft.com",
"commit": "adfbe74c57a96e8b75b16c0ee11397ab06a3fd5f",
"date": "2019-10-16T15:58:09.775Z"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ export class BasePickerListBelow<T, P extends IBasePickerProps<T>> extends BaseP
direction={FocusZoneDirection.bidirectional}
isInnerZoneKeystroke={this._isFocusZoneInnerKeystroke}
id={this._ariaMap.selectedItems}
role={'list'}
>
{this.renderItems()}
</FocusZone>
Expand Down

0 comments on commit d78a5c1

Please sign in to comment.