Skip to content

Commit

Permalink
amend accessibility and privacy pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhodine-orleans-lindsay committed Jan 13, 2025
1 parent 78ebb81 commit 810e781
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 64 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,3 @@ There are a bunch of microservices as part of modernslavery:
for legacy information saved as part of the 'save and return' process, so users can update if required before submission.
This page should be reviewed within 12 months to see if any active cases in the 'save and return' feature are using this
field before the page can be permanently removed.



15 changes: 11 additions & 4 deletions apps/common/views/accessibility.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{{<partials-page}}
{{$page-content}}
{{<layout}}

{{$propositionHeader}}{{/propositionHeader}}

{{$header}}
Accessibility statement
{{/header}}

{{$content}}
<h1 class="govuk-heading-l">Accessibility statement</h1>
<div>
<p>This accessibility statement applies to the report modern slavery service.</p>
Expand Down Expand Up @@ -47,5 +54,5 @@ <h2 class="govuk-heading-m">Preparation of this accessibility statement</h2>
<p>This website was last tested on 20 August 2024. The test was carried out internally by the Home Office.</p>
<p>We tested the service based on a user's ability to complete key journeys. All parts of the chosen journeys were tested, including documents. Journeys were chosen on a number of factors including usage statistics, risk assessments and subject matter.</p>
</div>
{{/page-content}}
{{/partials-page}}
{{/content}}
{{/layout}}
16 changes: 11 additions & 5 deletions apps/common/views/privacy.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{{<partials-page}}
{{$page-content}}
{{<layout}}

{{$propositionHeader}}{{/propositionHeader}}

{{$header}}
{{#t}}pages.privacy.header{{/t}}
{{/header}}

{{$content}}
<h1 class="govuk-heading-l">{{#t}}pages.privacy.header{{/t}}</h1>
<div>
<p>{{#t}}pages.privacy.paragraph-1{{/t}}</p>
<p><a class="govuk-link" href="https://www.gov.uk/government/organisations/home-office/about/personal-information-charter">{{#t}}pages.privacy.paragraph-2-link-1{{/t}}</a> {{#t}}pages.privacy.paragraph-1{{/t}}</p>
<p>{{#t}}pages.privacy.paragraph-3{{/t}} <a class="govuk-link" href="http://www.legislation.gov.uk/ukpga/2018/12/contents">{{#t}}pages.privacy.paragraph-3-link-1{{/t}}</a></p>
<p>{{#t}}pages.privacy.paragraph-4{{/t}}</p>
Expand Down Expand Up @@ -68,5 +74,5 @@ <h3 class="govuk-heading-m">{{#t}}pages.privacy.heading-8{{/t}}</h3>
<p>{{#t}}pages.privacy.paragraph-17{{/t}}</p>
<p>{{#t}}pages.privacy.paragraph-18{{/t}}</p>
</div>
{{/page-content}}
{{/partials-page}}
{{/content}}
{{/layout}}
1 change: 0 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module.exports = {
port: process.env.REDIS_PORT,
host: process.env.REDIS_HOST
},
sessionTimeOutWarning: process.env.SESSION_TIMEOUT_WARNING || 60,
keycloak: {
token: process.env.KEYCLOAK_TOKEN_URL,
username: process.env.KEYCLOAK_USERNAME,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"axios": "^1.7.4",
"accessible-autocomplete": "^2.0.2",
"govuk-frontend": "^2.7.0",
"hof": "22.0.0-timeout-warning-sign-in-beta.4",
"hof": "22.0.0-timeout-warning-sign-in-beta.7",
"ioredis": "^4.0.0",
"jquery": "^3.5.1",
"knex": "^3.1.0",
Expand Down
2 changes: 0 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const path = require('path');
const promptSheet = require('./config').promptSheet;
const config = require('./config');
const _ = require('lodash');
require('hof/config/hof-defaults').session.ttl = 65;
require('hof/config/hof-defaults').sessionTimeOutWarning = 60;

const sessionCookiesTable = require('./apps/common/translations/src/en/cookies.json');

Expand Down
96 changes: 48 additions & 48 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
js-tokens "^4.0.0"
picocolors "^1.0.0"

"@babel/compat-data@^7.25.9":
version "7.26.3"
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.3.tgz#99488264a56b2aded63983abd6a417f03b92ed02"
integrity sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==
"@babel/compat-data@^7.26.5":
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.5.tgz#df93ac37f4417854130e21d72c66ff3d4b897fc7"
integrity sha512-XvcZi1KWf88RVbF9wn8MN6tYFloU5qX8KjuF3E1PVBmJ9eypXfs4GRiJwLuTZL0iSnJUKn1BFPa5BPZZJyFzPg==

"@babel/core@^7.16.7", "@babel/core@^7.7.5":
version "7.26.0"
Expand All @@ -53,31 +53,31 @@
semver "^6.3.1"

"@babel/eslint-parser@^7.16.3":
version "7.25.9"
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.25.9.tgz#603c68a63078796527bc9d0833f5e52dd5f9224c"
integrity sha512-5UXfgpK0j0Xr/xIdgdLEhOFxaDZ0bRPWJJchRpqOSur/3rZoPbqqki5mm0p4NE2cs28krBEiSM2MB7//afRSQQ==
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.26.5.tgz#aa669f4d873f9cd617050cf3c40c19cd96307efb"
integrity sha512-Kkm8C8uxI842AwQADxl0GbcG1rupELYLShazYEZO/2DYjhyWXJIOUVOE3tBYm6JXzUCNJOZEzqc4rCW/jsEQYQ==
dependencies:
"@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1"
eslint-visitor-keys "^2.1.0"
semver "^6.3.1"

"@babel/generator@^7.26.0", "@babel/generator@^7.26.3":
version "7.26.3"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.3.tgz#ab8d4360544a425c90c248df7059881f4b2ce019"
integrity sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==
"@babel/generator@^7.26.0", "@babel/generator@^7.26.5":
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.26.5.tgz#e44d4ab3176bbcaf78a5725da5f1dc28802a9458"
integrity sha512-2caSP6fN9I7HOe6nqhtft7V4g7/V/gfDsC3Ag4W7kEzzvRGKqiv0pu0HogPiZ3KaVSoNDhUws6IJjDjpfmYIXw==
dependencies:
"@babel/parser" "^7.26.3"
"@babel/types" "^7.26.3"
"@babel/parser" "^7.26.5"
"@babel/types" "^7.26.5"
"@jridgewell/gen-mapping" "^0.3.5"
"@jridgewell/trace-mapping" "^0.3.25"
jsesc "^3.0.2"

"@babel/helper-compilation-targets@^7.25.9":
version "7.25.9"
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz#55af025ce365be3cdc0c1c1e56c6af617ce88875"
integrity sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz#75d92bb8d8d51301c0d49e52a65c9a7fe94514d8"
integrity sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==
dependencies:
"@babel/compat-data" "^7.25.9"
"@babel/compat-data" "^7.26.5"
"@babel/helper-validator-option" "^7.25.9"
browserslist "^4.24.0"
lru-cache "^5.1.1"
Expand Down Expand Up @@ -133,12 +133,12 @@
js-tokens "^4.0.0"
picocolors "^1.0.0"

"@babel/parser@^7.25.9", "@babel/parser@^7.26.0", "@babel/parser@^7.26.3":
version "7.26.3"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.3.tgz#8c51c5db6ddf08134af1ddbacf16aaab48bac234"
integrity sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==
"@babel/parser@^7.25.9", "@babel/parser@^7.26.0", "@babel/parser@^7.26.5":
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.5.tgz#6fec9aebddef25ca57a935c86dbb915ae2da3e1f"
integrity sha512-SRJ4jYmXRqV1/Xc+TIVG84WjHBXKlxO9sHQnA2Pf12QQEAp1LOh6kDzNHXcUnbH1QI0FDoPPVOt+vyUDucxpaw==
dependencies:
"@babel/types" "^7.26.3"
"@babel/types" "^7.26.5"

"@babel/template@^7.25.9":
version "7.25.9"
Expand All @@ -150,22 +150,22 @@
"@babel/types" "^7.25.9"

"@babel/traverse@^7.25.9":
version "7.26.4"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.4.tgz#ac3a2a84b908dde6d463c3bfa2c5fdc1653574bd"
integrity sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.26.5.tgz#6d0be3e772ff786456c1a37538208286f6e79021"
integrity sha512-rkOSPOw+AXbgtwUga3U4u8RpoK9FEFWBNAlTpcnkLFjL5CT+oyHNuUUC/xx6XefEJ16r38r8Bc/lfp6rYuHeJQ==
dependencies:
"@babel/code-frame" "^7.26.2"
"@babel/generator" "^7.26.3"
"@babel/parser" "^7.26.3"
"@babel/generator" "^7.26.5"
"@babel/parser" "^7.26.5"
"@babel/template" "^7.25.9"
"@babel/types" "^7.26.3"
"@babel/types" "^7.26.5"
debug "^4.3.1"
globals "^11.1.0"

"@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.26.3":
version "7.26.3"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.3.tgz#37e79830f04c2b5687acc77db97fbc75fb81f3c0"
integrity sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==
"@babel/types@^7.25.9", "@babel/types@^7.26.0", "@babel/types@^7.26.5":
version "7.26.5"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.5.tgz#7a1e1c01d28e26d1fe7f8ec9567b3b92b9d07747"
integrity sha512-L6mZmwFDK6Cjh1nRCLXpa6no13ZIioJDz7mdkzHv399pThrTa/k0nUlNaenOeh2kWu/iaOQYElEpKPUswUa9Vg==
dependencies:
"@babel/helper-string-parser" "^7.25.9"
"@babel/helper-validator-identifier" "^7.25.9"
Expand Down Expand Up @@ -528,9 +528,9 @@
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==

"@types/node@*":
version "22.10.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.5.tgz#95af89a3fb74a2bb41ef9927f206e6472026e48b"
integrity sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==
version "22.10.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.6.tgz#5c6795e71635876039f853cbccd59f523d9e4239"
integrity sha512-qNiuwC4ZDAUNcY47xgaSuS92cjf8JbSUoaKS77bmLG1rU7MlATVSiw/IlrjtIyyskXBZ8KkNfjK/P5na7rgXbQ==
dependencies:
undici-types "~6.20.0"

Expand Down Expand Up @@ -980,9 +980,9 @@ bare-path@^2.0.0, bare-path@^2.1.0:
bare-os "^2.1.0"

bare-stream@^2.0.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.6.1.tgz#b3b9874fab05b662c9aea2706a12fb0698c46836"
integrity sha512-eVZbtKM+4uehzrsj49KtCy3Pbg7kO1pJ3SKZ1SFrIH/0pnj9scuGGgUlNDf/7qS8WKtGdiJY5Kyhs/ivYPTB/g==
version "2.6.2"
resolved "https://registry.yarnpkg.com/bare-stream/-/bare-stream-2.6.2.tgz#d32f268ec3de78d712eddb7b06edef68ddd991c6"
integrity sha512-gSFtIiA/b0Llho+9zEy9MNgqrKpq70T62V4oGN8BSJgZt7Rk3RORPCK1kLj9hxS+YtrvSOOVGUrhraouXZkv3A==
dependencies:
streamx "^2.21.0"

Expand Down Expand Up @@ -3327,10 +3327,10 @@ hmac-drbg@^1.0.1:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.1"

[email protected].4:
version "22.0.0-timeout-warning-sign-in-beta.4"
resolved "https://registry.yarnpkg.com/hof/-/hof-22.0.0-timeout-warning-sign-in-beta.4.tgz#1bcf915e283eb277aab76e58eabbc21c234ab790"
integrity sha512-HvE6ng3iuOvoeRjc/WXdB5lD82LNBXW7PgvtayUex0/wZsZ8YGu8mIW7FR/z9tbol9CKbjqolq74N7zxiRdtBw==
[email protected].7:
version "22.0.0-timeout-warning-sign-in-beta.7"
resolved "https://registry.yarnpkg.com/hof/-/hof-22.0.0-timeout-warning-sign-in-beta.7.tgz#1e6f0094f965274f5a59ddef380e6443b9e56a31"
integrity sha512-b2+3875xgw009+E1Dpm+iEd1UQ+MYf1ujx0eZqMpb6L+TFMgZv5lT3dXycYf6oEvpyAp+40nnEdicUO3sgIZXQ==
dependencies:
aliasify "^2.1.0"
axios "^1.5.1"
Expand Down Expand Up @@ -5473,9 +5473,9 @@ readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0, readable
util-deprecate "^1.0.1"

readdirp@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.2.tgz#388fccb8b75665da3abffe2d8f8ed59fe74c230a"
integrity sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==
version "4.1.1"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.1.1.tgz#bd115327129672dc47f87408f05df9bd9ca3ef55"
integrity sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==

readdirp@~3.6.0:
version "3.6.0"
Expand Down Expand Up @@ -6254,9 +6254,9 @@ table@^6.0.9:
strip-ansi "^6.0.1"

tar-fs@^3.0.6:
version "3.0.6"
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.0.6.tgz#eaccd3a67d5672f09ca8e8f9c3d2b89fa173f217"
integrity sha512-iokBDQQkUyeXhgPYaZxmczGPhnhXZ0CmrqI+MOb/WFGS9DW5wnfrLgtjUJBvz50vQ3qfRwJ62QVoCFu8mPVu5w==
version "3.0.7"
resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-3.0.7.tgz#b8ecd22f9452e5116b93273a754a1f835edb5319"
integrity sha512-2sAfoF/zw/2n8goUGnGRZTWTD4INtnScPZvyYBI6BDlJ3wNR5o1dw03EfBvuhG6GBLvC4J+C7j7W+64aZ0ogQA==
dependencies:
pump "^3.0.0"
tar-stream "^3.1.5"
Expand Down

0 comments on commit 810e781

Please sign in to comment.