Keyboard shortcuts and accessibility

This commit is contained in:
Scott Nonnenberg 2019-11-07 13:36:16 -08:00
parent 8590a047c7
commit 20a892247f
87 changed files with 3652 additions and 711 deletions

View file

@ -68,8 +68,7 @@ export class ContactListItem extends React.Component<Props> {
const showVerified = !isMe && verified;
return (
<div
role="button"
<button
onClick={onClick}
className={classNames(
'module-contact-list-item',
@ -90,7 +89,7 @@ export class ContactListItem extends React.Component<Props> {
{showNumber ? phoneNumber : null}
</div>
</div>
</div>
</button>
);
}
}