Skip to content

Commit

Permalink
add role to svg and update tests (#3095)
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-onyenaucheya-ons authored Mar 18, 2024
1 parent dafec94 commit e1e4466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __snapshots__/layout/_template.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ exports[`base page template matches the full configuration snapshot 1`] = `


<!-- OGL -->
<div class="ons-footer__license ons-u-mb-m"><svg class="ons-footer__ogl-img" xmlns="http://www.w3.org/2000/svg" width="50px" height="20px" viewBox="0 0 60 24" focusable="false" aria-hidden="true">
<div class="ons-footer__license ons-u-mb-m"><svg class="ons-footer__ogl-img" xmlns="http://www.w3.org/2000/svg" width="50px" height="20px" viewBox="0 0 60 24" focusable="false" aria-hidden="true" role="img">
<title>Open Government License logo</title>
<path d="M51.7,17.5V0l-6.2,4v19.8h13.8v-6.2H51.7z M36.7,16.3c-1,0.9-2.4,1.4-3.8,1.4c-3.2,0-5.8-2.6-5.8-5.8s2.6-5.8,5.8-5.8c2,0,3.9,1.1,4.9,2.7L43,5.6C40.9,2.2,37.1,0,32.9,0c-4.5,0-8.4,2.5-10.4,6.1C20.4,2.5,16.5,0,12,0C5.4,0,0,5.4,0,12s5.4,12,12,12c4.5,0,8.4-2.5,10.4-6.1c2.1,3.6,6,6.1,10.4,6.1c3,0,5.8-1.1,7.9-3l2.4,2.7h0.4V13h-9.8L36.7,16.3zM12,17.8c-3.2,0-5.8-2.6-5.8-5.8S8.8,6.2,12,6.2s5.8,2.6,5.8,5.8S15.2,17.8,12,17.8" fill="#595959"></path>
</svg>
Expand Down
4 changes: 2 additions & 2 deletions src/components/icon/_macro.njk

Large diffs are not rendered by default.

0 comments on commit e1e4466

Please sign in to comment.