Skip to content

Commit

Permalink
fix: Accuracy and more readable aria-label for expand/collapse comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kriscooke authored and matthieu-foucault committed Oct 29, 2020
1 parent 60d2b7b commit 253da10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/containers/Applications/ApplicationCommentsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const ApplicationCommentsComponent: React.FunctionComponent<Props> = (
<h3>
{formResult.formJsonByFormId.name}{' '}
<i
aria-label="toggle-card-open"
title="expand or collapse the card"
aria-label="Collapse or expand comment"
title="Collapse or expand comment"
style={{float: 'right', marginRight: '10px'}}
onClick={() => setIsOpen(!isOpen)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`ApplicationCommentsComponent should match the snapshot with the Applica
ddd
<i
aria-label="toggle-card-open"
aria-label="Collapse or expand comment"
className="jsx-2344769289"
onClick={[Function]}
style={
Expand All @@ -21,7 +21,7 @@ exports[`ApplicationCommentsComponent should match the snapshot with the Applica
"marginRight": "10px",
}
}
title="expand or collapse the card"
title="Collapse or expand comment"
>
<FontAwesomeIcon
border={false}
Expand Down

0 comments on commit 253da10

Please sign in to comment.