Accessibility fixes for ConversationDetails and AvatarPopup
This commit is contained in:
parent
56031336a9
commit
53bc13a401
9 changed files with 203 additions and 81 deletions
|
@ -134,7 +134,7 @@ export const AvatarPreview = ({
|
|||
|
||||
const isLoading = imageStatus === ImageStatus.Loading;
|
||||
|
||||
const clickProps = onClick ? { role: 'button', onClick } : {};
|
||||
const clickProps = onClick ? { role: 'button', onClick, tabIndex: 0 } : {};
|
||||
const componentStyle = {
|
||||
...style,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue