Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CCAP-499] updating hardcoded alt text to use translatable assets #821

Merged
merged 5 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/main/resources/messages.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
demo.banner-text=<b>EXAMPLE SITE: Do not enter any personal information. </b><a data-mixpanel="download-pdf" href={0}>download PDF</a>
general.cfa.logo.text=Code for America logo
general.illinois.state.seal.text=Seal of the State of Illinois
general.illinois.department.logo.text=Illinois Department of Human Services logo
general.skip-to-content=Skip to content
general.skip=Skip
general.inputs.none-of-the-above=None of the above
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/messages_es.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
demo.banner-text=<b>SITIO DE DEMOSTRACIοΏ½N: No ingrese su informaciοΏ½n personal. </b><a href={0}>descarga PDF</a>
general.cfa.logo.text=Logo de Code for America
general.illinois.state.seal.text=Sello del estado de Illinois
general.illinois.department.logo.text=Logo del Departamento de Servicios Humanos de Illinois
general.skip-to-content=Saltar al contenido
general.skip=Omitir
general.inputs.none-of-the-above=Ninguno de los anteriores
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="main-footer__cfa-logo grid__item">
<a href="https://www.codeforamerica.org" class="spacing-below-0">
<img src="/webjars/form-flow/0.0.1/images/code-for-america-logo_white.svg"
alt="Code for America logo"
th:alt="#{general.cfa.logo.text}"
style="width: 100px;">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/fragments/toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
th:text="#{general.skip-to-content}"></a>
<a class="logo" href="/">
<img src="/assets/images/IDHS-white.svg"
alt="Illinois Department of Human Services logo"
th:alt="#{general.illinois.department.logo.text}"
style="width: 118px; height: 36px;"
class="vertical-align-middle"/>
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1 class="spacing-below-35 spacing-above-5" th:text="#{index.title}"></h1>
<section class="slab slab--white">
<div class="grid">
<div class="index-child-care-image-container width-one-fourth">
<img src="/assets/images/seal-of-illinois.png" alt="Seal of the State of Illinois" loading="lazy" style="width: 141px; height: 141px;">
<img src="/assets/images/IDHS-logo.png" alt="Illinois Department of Human Services logo" loading="lazy" style="width: 168px; height: auto">
<img src="/assets/images/seal-of-illinois.png" th:alt="#{general.illinois.state.seal.text}" loading="lazy" style="width: 141px; height: 141px;">
<img src="/assets/images/IDHS-logo.png" th:alt="#{general.illinois.department.logo.text}" loading="lazy" style="width: 168px; height: auto">
</div>

<div class="width-two-thirds">
Expand Down