We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711a233 commit 274af2cCopy full SHA for 274af2c
packages/mgt-components/src/components/mgt-people-picker/mgt-people-picker.ts
@@ -950,7 +950,7 @@ export class MgtPeoplePicker extends MgtTemplatedComponent {
950
person => person.id,
951
person => {
952
const lineTwo = person.jobTitle || (person as User).mail;
953
- const ariaLabel = `${this.strings.suggestedContact} ${person.displayName} ${lineTwo}`;
+ const ariaLabel = `${this.strings.suggestedContact} ${person.displayName} ${lineTwo ?? ''}`;
954
return html`
955
<li
956
id="${person.id}"
0 commit comments