add aria label
This commit is contained in:
parent
2b8c9812ee
commit
cb4f6005d6
@ -42,7 +42,7 @@ export default class MessageListItem extends Component {
|
||||
</div>
|
||||
<div className={styles.content}>
|
||||
<div className={styles.meta}>
|
||||
<div className={user.isOnline ? styles.name : styles.logout}>
|
||||
<div className={user.isOnline ? styles.name : styles.logout} aria-label={user.name}>
|
||||
<span>{user.name}</span>
|
||||
{user.isOnline ? null : <span className={styles.offline}>(offline)</span>}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user