Skip to content

Commit

Permalink
Production Release (#259)
Browse files Browse the repository at this point in the history
Sprint 33 include(s) the following issues:

Improve performance by adding explicit height and width to image elements #146
Interactive elements indicate their purpose and state #185
  • Loading branch information
felder101 authored Jul 1, 2024
1 parent bffbf25 commit ef66741
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
cf_space: ${{ inputs.environment }}
command: >-
bin/cg-set-env.sh ${{ inputs.environment }}
SAM_API_KEY=${{ secrets.SAM_API_KEY }}
- name: Deploy the application
uses: cloud-gov/cg-cli-tools@main
Expand Down
2 changes: 2 additions & 0 deletions front-end/src/components/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<div class="usa-banner__inner">
<div class="grid-col-auto">
<img
width="16"
height="11"
aria-hidden="true"
class="usa-banner__header-flag"
src="@/assets/images/us_flag_small.png"
Expand Down
4 changes: 4 additions & 0 deletions front-end/src/components/GSAHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ defineProps({
>
<router-link to="/">
<img
width="189.5"
height="72"
class="usa-logo-img"
src="@/assets/images/gsa-smartpay-logo-reverse.svg"
alt="GSA SmartPay Logo"
Expand All @@ -37,6 +39,8 @@ defineProps({
class="usa-logo"
>
<img
width="189.5"
height="72"
class="usa-logo-img"
src="@/assets/images/gsa-smartpay-logo-reverse.svg"
alt="GSA SmartPay Logo"
Expand Down
16 changes: 11 additions & 5 deletions front-end/src/components/SearchResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ const expirationDateText = computed(() => {
const downloadLabel = computed(
() => "Download PDF for " + props.entity.entityRegistration.legalBusinessName,
);
const downloadLabelId = computed(
() => downloadLabel.value.toLowerCase().replace(/\s+/g, '-'),
);
</script>
<template>
<div
Expand All @@ -124,9 +130,9 @@ const downloadLabel = computed(
focusable="false"
role="img"
class="usa-icon"
:aria-labelledby="downloadLabel"
:aria-label="downloadLabel"
>
<title :id="downloadLabel">{{ downloadLabel }}</title>
<title :id="downloadLabelId">{{ downloadLabel }}</title>
<use xlink:href="@/assets/images/sprite.svg#file_download" />
</svg>
</button>
Expand All @@ -144,7 +150,7 @@ const downloadLabel = computed(
focusable="true"
role="img"
class="usa-icon"
aria-labelledby="no-download"
:aria-label="WARN_TEXT"
>
<title id="no-download">{{ WARN_TEXT }}</title>
<use xlink:href="@/assets/images/sprite.svg#remove_circle" />
Expand All @@ -170,7 +176,7 @@ const downloadLabel = computed(
<svg
class="usa-icon"
focusable="true"
aria-labelledby="green-check"
:aria-label="OK_TEXT"
role="img"
>
<title id="green-check">{{ OK_TEXT }}</title>
Expand All @@ -187,7 +193,7 @@ const downloadLabel = computed(
<svg
class="usa-icon"
aria-hidden="true"
aria-labelledby="warning-icon"
:aria-label="WARN_TEXT"
focusable="false"
role="img"
>
Expand Down

0 comments on commit ef66741

Please sign in to comment.