Skip to content

Commit e642f7a

Browse files
authored
Cookies policy (#89)
* table changes * cookies purpose edits * adds cookies to footer * Accessibility fixes: - footer unordered list fix - section headers added as list items instead of paragraphs
1 parent ff4ffea commit e642f7a

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

docs/_data/footer-navigation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
- title: Acceptable use policy
55
link: https://digital.nhs.uk/services/nhs-notify/acceptable-use-policy
66

7-
#- title: Cookies
8-
#link: /cookies/
7+
- title: Cookies
8+
link: /cookies/
99

1010
- title: Privacy
1111
link: https://digital.nhs.uk/services/nhs-notify/transparency-notice

docs/_includes/footer.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ <h2 class="nhsuk-u-visually-hidden">Support links</h2>
99
<a class="nhsuk-footer__list-item-link" href="{{ item.link | uri_escape }}">{{ item.title }}</a>
1010
</li>
1111
{% endfor %}
12-
<div>
13-
<p class="nhsuk-footer__copyright">&copy; NHS England</p>
14-
</div>
12+
</ul>
13+
<div>
14+
<p class="nhsuk-footer__copyright">&copy; NHS England</p>
15+
</div>
1516
</div>
1617
</div>
1718
</div>

docs/_layouts/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<ul class="nhsuk-list nhsnotify-side-nav__list">
3030
{% for section in first_level %}
3131
{% if section.name != "" %}
32-
<p class="nhsuk-u-font-weight-bold nhsnotify-side-nav__list-section">{{ section.name }}</p>
32+
<li class="nhsuk-u-font-weight-bold nhsnotify-side-nav__list-section">{{ section.name }}</li>
3333
{% endif %}
3434
{% assign sorted = section.items | sort: 'nav_order' %}
3535
{% for post in sorted %}

docs/pages/footer/cookies.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ permalink: /cookies/
99

1010
Cookies are small files saved on your phone, tablet or computer when you visit a website.
1111

12-
We use an essential cookie to keep your data secure while you use NHS Notify.
12+
## Essential cookies
13+
14+
We use essential cookies to keep your data secure while you use NHS Notify.
1315

1416
We do not need to ask permission to use essential cookies.
1517

16-
| Name | Purpose | Expires |
17-
| ----------- | ------------------------------ | -------- |
18-
| cookie_name | Used to do something important | 24 hours |
18+
| Name | Purpose | Expires |
19+
| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
20+
| csrf_token | Helps keep the site secure by preventing cross-site request forgery (CSRF) attacks. | When your session has ended |
21+
| CognitoIdentityServiceProvider.accessToken | A cookie used for authentication. This lets us know that you've started a session in our interface and keeps it open for an hour. | 1 year |
22+
| CognitoIdentityServiceProvider.clockDrift | A cookie used for authentication. This cookie tracks the time difference between your local clock and a remote clock to keep your session active. | 1 year |
23+
| CognitoIdentityServiceProvider.oauthMetadata | A cookie used for authentication. This records the type of authentication you used to sign in to help when signing you out. | 1 year |
24+
| CognitoIdentityServiceProvider.refreshToken | A cookie used for authentication. This periodically refreshes your session to the maximum time. | 1 year |
25+
| CognitoIdentityServiceProvider.LastAuthUser | A cookie used for authentication. This records the user ID of the last authenticated user on a device and identifies any corresponding cookies to that user ID. | 1 year |

0 commit comments

Comments
 (0)