diff --git a/packages/module/src/Message/Message.tsx b/packages/module/src/Message/Message.tsx index 45acf550..21718dfd 100644 --- a/packages/module/src/Message/Message.tsx +++ b/packages/module/src/Message/Message.tsx @@ -25,8 +25,6 @@ export interface MessageProps extends Omit, 'rol name?: string; /** Avatar src for the user */ avatar?: string; - /** Alt text placed on the avatar */ - avatarAltText?: string; /** Timestamp for the message */ timestamp?: string; /** Set this to true if message is being loaded */ @@ -63,7 +61,6 @@ export const Message: React.FunctionComponent = ({ onAttachmentClose, actions, sources, - avatarAltText, ...props }: MessageProps) => { // Configure default values @@ -86,7 +83,8 @@ export const Message: React.FunctionComponent = ({ return (
- + {/* We are using an empty alt tag intentionally in order to reduce noise on screen readers */} +
{name}