Skip to content

Commit

Permalink
Fix bad merge (#2249)
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim authored Jul 31, 2019
1 parent dd87318 commit de3b90f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/component/src/Activity/StackedLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,7 @@ const StackedLayout = ({ activity, avatarInitials, children, language, styleSet,
)}
{/* Because of differences in browser implementations, aria-label=" " is used to make the screen reader not repeat the same text multiple times in Chrome v75 */}
{attachments.map((attachment, index) => (
<div
aria-label=" "
className={classNames('webchat__row attachment', { webchat__stacked_item_indented: indented })}
key={index}
>
<div aria-label=" " className="webchat__row attachment" key={index}>
{/* Because of differences in browser implementations, <span aria-label> is used to make the screen reader perform the same on different browsers in Edge v44 */}
<span aria-label={fromUser ? localize('UserSent', language) : localize('BotSent', language)} />
<Bubble className="attachment bubble" fromUser={fromUser} key={index}>
Expand Down

0 comments on commit de3b90f

Please sign in to comment.