1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

Improve a11y of default BaseAvatar

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2020-07-05 01:06:36 +01:00
parent d98ba9b577
commit 4c7014167d

View File

@@ -132,7 +132,7 @@ const BaseAvatar = (props) => {
); );
} else { } else {
return ( return (
<span className="mx_BaseAvatar" ref={inputRef} {...otherProps}> <span className="mx_BaseAvatar" ref={inputRef} {...otherProps} role="presentation">
{ textNode } { textNode }
{ imgNode } { imgNode }
</span> </span>