Skip to content

Commit

Permalink
Merge pull request #401 from code-for-canada/img-role-change
Browse files Browse the repository at this point in the history
[Accessibility] Switching from banner to presentation
  • Loading branch information
MichaelCherry authored Jun 27, 2019
2 parents 07139d7 + e5fc821 commit c9086f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/commons/ContentContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ const styles = {
const ContentContainer = props => {
return (
<div role="main">
{!props.hideBanner && <img role="banner" src={mini_banner} alt="" style={styles.banner} />}
{!props.hideBanner && (
<img role="presentation" src={mini_banner} alt="" style={styles.banner} />
)}
<div style={styles.container}>{props.children}</div>
</div>
);
Expand Down

0 comments on commit c9086f9

Please sign in to comment.