diff --git a/common/changes/office-ui-fabric-react/FirstBug_2018-03-05-22-47.json b/common/changes/office-ui-fabric-react/FirstBug_2018-03-05-22-47.json new file mode 100644 index 0000000000000..e7556ba101c95 --- /dev/null +++ b/common/changes/office-ui-fabric-react/FirstBug_2018-03-05-22-47.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "Facepile: Conditionally apply `aria-describedby` only when `ariaDescription` is provided", + "type": "patch" + } + ], + "packageName": "office-ui-fabric-react", + "email": "adrum@microsoft.com" +} \ No newline at end of file diff --git a/packages/office-ui-fabric-react/src/components/Facepile/Facepile.tsx b/packages/office-ui-fabric-react/src/components/Facepile/Facepile.tsx index 2270fc6e2b400..042e96e63df26 100644 --- a/packages/office-ui-fabric-react/src/components/Facepile/Facepile.tsx +++ b/packages/office-ui-fabric-react/src/components/Facepile/Facepile.tsx @@ -48,6 +48,7 @@ export class Facepile extends BaseComponent { public render(): JSX.Element { let { overflowButtonProps } = this.props; const { + ariaDescription, chevronButtonProps, maxDisplayablePersonas, className, @@ -69,7 +70,7 @@ export class Facepile extends BaseComponent { { showAddButton ? this._getAddNewElement() : null } { this.onRenderAriaDescription() }
- +