diff --git a/app/views/account_reset/recover/email_sent.html.slim b/app/views/account_reset/recover/email_sent.html.slim index 0a772b4ff52..1729774812c 100644 --- a/app/views/account_reset/recover/email_sent.html.slim +++ b/app/views/account_reset/recover/email_sent.html.slim @@ -1,6 +1,5 @@ - title t('doc_auth.titles.doc_auth') -= image_tag(asset_url('check-email.svg'), - alt: t('idv.titles.session.success'), width: 96) += image_tag(asset_url('check-email.svg'), width: 96) h1.h3.mb2.mt3.my0 = t('recover.request.email_sent', email: current_user.email) diff --git a/app/views/idv/cac/success.html.slim b/app/views/idv/cac/success.html.slim index 6fd9c345ad3..8eb83846969 100644 --- a/app/views/idv/cac/success.html.slim +++ b/app/views/idv/cac/success.html.slim @@ -2,8 +2,7 @@ h5.my1.caps.bold.accent-blue = t('cac_proofing.step', step: 2) -= image_tag(asset_url('state-id-confirm@3x.png'), - alt: t('idv.titles.session.success'), width: 210) += image_tag(asset_url('state-id-confirm@3x.png'), width: 210) h1.h3.mb2.mt3.my0 = t('cac_proofing.headings.success') diff --git a/app/views/idv/capture_doc/capture_complete.html.slim b/app/views/idv/capture_doc/capture_complete.html.slim index 6fe72c0faf0..43245e4a9c4 100644 --- a/app/views/idv/capture_doc/capture_complete.html.slim +++ b/app/views/idv/capture_doc/capture_complete.html.slim @@ -1,10 +1,8 @@ - title t('doc_auth.titles.doc_auth') -= image_tag(asset_url('alert/success.svg'), - alt: t('forms.webauthn_setup.success_title'), width: 60) += image_tag(asset_url('alert/success.svg'), width: 60) h1.h2.mb2.mt3.my0 = t('doc_auth.headings.capture_complete') hr h1.h2.mb2.mt3.my0 = t('doc_auth.instructions.switch_back') -= image_tag(asset_url('idv/switch.png'), - alt: t('forms.webauthn_setup.success_title'), width: 193) += image_tag(asset_url('idv/switch.png'), width: 193) diff --git a/app/views/idv/come_back_later/show.html.slim b/app/views/idv/come_back_later/show.html.slim index b4f1bbdf407..d1574173e93 100644 --- a/app/views/idv/come_back_later/show.html.slim +++ b/app/views/idv/come_back_later/show.html.slim @@ -1,5 +1,5 @@ = image_tag(asset_url('come-back.svg'), - size: '140', alt: t('idv.titles.come_back_later'), class: 'block mx-auto') + size: '140', class: 'block mx-auto') h2.center = t('idv.titles.come_back_later') .mt2.p3.col-12.center.border-box.border.border-teal.rounded-xl p diff --git a/app/views/idv/doc_auth/_back_of_state_id_image.slim b/app/views/idv/doc_auth/_back_of_state_id_image.slim index 47e080aaf75..2ec8f120c48 100644 --- a/app/views/idv/doc_auth/_back_of_state_id_image.slim +++ b/app/views/idv/doc_auth/_back_of_state_id_image.slim @@ -1,4 +1,3 @@ -= image_tag(asset_url('state-id-back.svg'), - alt: t('doc_auth.headings.upload_back'), height: 140) += image_tag(asset_url('state-id-back.svg'), height: 140) br br diff --git a/app/views/idv/doc_auth/_front_of_state_id_image.slim b/app/views/idv/doc_auth/_front_of_state_id_image.slim index 7d819fd2c57..ac11e1895c5 100644 --- a/app/views/idv/doc_auth/_front_of_state_id_image.slim +++ b/app/views/idv/doc_auth/_front_of_state_id_image.slim @@ -1,4 +1,3 @@ -= image_tag(asset_url('state-id-front.svg'), - alt: t('doc_auth.headings.upload_front'), height: 140) += image_tag(asset_url('state-id-front.svg'), height: 140) br br diff --git a/app/views/idv/doc_auth/doc_success.html.slim b/app/views/idv/doc_auth/doc_success.html.slim index da7a8110343..2f75c2a402d 100644 --- a/app/views/idv/doc_auth/doc_success.html.slim +++ b/app/views/idv/doc_auth/doc_success.html.slim @@ -1,7 +1,6 @@ - title t('doc_auth.titles.doc_auth') -= image_tag(asset_url('state-id-confirm@3x.png'), - alt: t('idv.titles.session.success'), width: 210) += image_tag(asset_url('state-id-confirm@3x.png'), width: 210) h1.h3.mb2.mt3.my0 = t('doc_auth.forms.doc_success') diff --git a/app/views/idv/doc_auth/email_sent.html.slim b/app/views/idv/doc_auth/email_sent.html.slim index dc420130457..baaee31caa6 100644 --- a/app/views/idv/doc_auth/email_sent.html.slim +++ b/app/views/idv/doc_auth/email_sent.html.slim @@ -1,7 +1,6 @@ - title t('doc_auth.titles.doc_auth') -= image_tag(asset_url('state-id-confirm@3x.png'), - alt: t('idv.titles.session.success'), width: 210) += image_tag(asset_url('state-id-confirm@3x.png'), width: 210) h1.h3.mb2.mt3.my0 = t('doc_auth.instructions.email_sent', email: current_user.email) diff --git a/app/views/idv/doc_auth/recover.html.slim b/app/views/idv/doc_auth/recover.html.slim index b8ade3ccbd5..10689a9cfdb 100644 --- a/app/views/idv/doc_auth/recover.html.slim +++ b/app/views/idv/doc_auth/recover.html.slim @@ -1,7 +1,6 @@ - title t('doc_auth.titles.doc_auth') -= image_tag(asset_url('alert/success.svg'), - alt: t('forms.webauthn_setup.success_title'), width: 60) += image_tag(asset_url('alert/success.svg'), width: 60) h1.h1.mb2.mt3.my0 = t('recover.reverify.email_confirmed') hr diff --git a/app/views/idv/doc_auth/recover_fail.html.slim b/app/views/idv/doc_auth/recover_fail.html.slim index 2f15975ad0c..ca1fe1cfc1e 100644 --- a/app/views/idv/doc_auth/recover_fail.html.slim +++ b/app/views/idv/doc_auth/recover_fail.html.slim @@ -1,7 +1,6 @@ - title t('doc_auth.titles.doc_auth') -= image_tag(asset_url('alert/success.svg'), - alt: t('forms.webauthn_setup.success_title'), width: 60) += image_tag(asset_url('alert/success.svg'), width: 60) h1.h2.mb2.mt3.my0 = t('recover.reverify.fail') diff --git a/app/views/idv/in_person/bar_code.html.slim b/app/views/idv/in_person/bar_code.html.slim index 183cc25d389..c0f4cf1608c 100644 --- a/app/views/idv/in_person/bar_code.html.slim +++ b/app/views/idv/in_person/bar_code.html.slim @@ -24,8 +24,7 @@ p.mt-tiny.mb3 == t('in_person_proofing.info.enrollment_form') table.pl4.pr3.monospace tr td.center - = image_tag(asset_url('idv/bar_code.png'), - alt: t('doc_auth.headings.upload_back'), height: 140) + = image_tag(asset_url('idv/bar_code.png'), height: 140) br br .center.mt1 diff --git a/app/views/idv/jurisdiction/new.html.erb b/app/views/idv/jurisdiction/new.html.erb index 1bc15a72ee3..4166472a3e4 100644 --- a/app/views/idv/jurisdiction/new.html.erb +++ b/app/views/idv/jurisdiction/new.html.erb @@ -1,7 +1,5 @@ <% title t('idv.titles.jurisdiction') %> -<%= image_tag(asset_url('state-id-none@3x.png'), - alt: t('idv.titles.jurisdiction'), - width: 210) %> +<%= image_tag(asset_url('state-id-none@3x.png'), width: 210) %>
diff --git a/app/views/idv/sessions/success.html.slim b/app/views/idv/sessions/success.html.slim index f3235ae166e..af45c59e4a7 100644 --- a/app/views/idv/sessions/success.html.slim +++ b/app/views/idv/sessions/success.html.slim @@ -1,7 +1,6 @@ - title t('idv.titles.session.success') -= image_tag(asset_url('state-id-confirm@3x.png'), - alt: t('idv.titles.session.success'), width: 210) += image_tag(asset_url('state-id-confirm@3x.png'), width: 210) h1.h3.mb2.mt3.my0 = t('idv.titles.session.success') diff --git a/app/views/layouts/user_mailer.html.slim b/app/views/layouts/user_mailer.html.slim index ad3ada9fdda..69a70c5fb03 100644 --- a/app/views/layouts/user_mailer.html.slim +++ b/app/views/layouts/user_mailer.html.slim @@ -34,7 +34,6 @@ html xmlns="http://www.w3.org/1999/xhtml" tr th = image_tag(attachments['logo.png'].url, - alt: t('mailer.sent_from', app: APP_NAME), size: '142x19', style: 'width: 142px; height: 19px;') th.expander diff --git a/app/views/shared/_failure.html.erb b/app/views/shared/_failure.html.erb index f8df78f3ca6..d7e1b1badd4 100644 --- a/app/views/shared/_failure.html.erb +++ b/app/views/shared/_failure.html.erb @@ -1,7 +1,6 @@ <% title presenter.title %> -<%= image_tag(asset_url(presenter.state_icon), - alt: presenter.state_alt_text, width: 54) %> +<%= image_tag(asset_url(presenter.state_icon), width: 54) %>