spec/views/pugin/components/_status.html.haml_spec.rb in pugin-1.4.0 vs spec/views/pugin/components/_status.html.haml_spec.rb in pugin-1.4.1

- old
+ new

@@ -17,11 +17,12 @@ expect(response).to eq( <<DATA <div class='status--banner'> <div class='container'> <p> -<img class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<img alt='' aria-hidden='true' aria-label='caution' class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<span class='sr-only'>caution</span> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/'>Give feedback</a> to help improve it. </p> </div> @@ -43,11 +44,12 @@ expect(response).to eq( <<DATA <div class='status--banner'> <div class='container'> <p> -<img class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<img alt='' aria-hidden='true' aria-label='caution' class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<span class='sr-only'>caution</span> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/'>Give feedback</a> to help improve it. <a href='https://www.gov.uk/register-to-vote'>Register to vote</a> in the general election by 22 May. @@ -72,11 +74,12 @@ expect(response).to eq( <<DATA <div class='status--banner'> <div class='container'> <p> -<img class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<img alt='' aria-hidden='true' aria-label='caution' class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<span class='sr-only'>caution</span> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/'>Give feedback</a> to help improve it. Find out <a href='http://www.parliament.uk/get-involved/elections/voting/'>how to vote</a> @@ -103,10 +106,11 @@ expect(response).to eq( <<DATA <div class='status--banner'> <div class='container'> <p> -<img class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<img alt='' aria-hidden='true' aria-label='caution' class='icon--inline' src='https://s3-eu-west-1.amazonaws.com/web1live.pugin-website/1.6.3/icons/caution-circle-white.svg'> +<span class='sr-only'>caution</span> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/'>Give feedback</a> to help improve it. Thursday 8 June is election day, find out <a href='http://www.parliament.uk/get-involved/elections/voting/'>how to vote</a>.