-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #441 from nhsuk/develop
Release 1.13.2
- Loading branch information
Showing
11 changed files
with
105 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ public | |
.DStore | ||
.DS_Store | ||
app/.DS_Store | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
app/views/accessibility/partials/use-html-rather-than-pdfs.njk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h2 id="pdfs">Use HTML rather than PDFs</h2> | ||
<p class="nhsuk-body-s">For: <a href="/service-manual/accessibility/content">Content</a>, <a href="/service-manual/accessibility/testing">Testing</a></p> | ||
<p>Avoid using PDFs as they are not accessible. If you must use a PDF, make sure the content is also available in HTML form.</p> | ||
<p>Read more about <a href="/service-manual/content/pdfs">PDFs in the content style guide</a>.</p> | ||
|
||
<hr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set pageTitle = 'PDFs' %} | ||
{% set pageSection = 'Content style guide' %} | ||
{% set pageDescription = 'Wherever possible, we avoid PDFs. Instead we create content as structured web pages in HTML. '%} | ||
|
||
{% extends 'includes/app-layout-two-thirds.njk' %} | ||
|
||
{% block breadcrumb %} | ||
{% include 'content/_breadcrumb.njk' %} | ||
{% endblock %} | ||
|
||
{% block bodyContent %} | ||
|
||
<h2>The problem with PDFs</h2> | ||
<p>We avoid PDFs because:</p> | ||
<ul> | ||
<li>they cannot meet the range of users' accessibility needs, for example, users cannot change colours or font size</li> | ||
<li>they give people a poor user experience, especially on mobile</li> | ||
<li>many browsers, tools and extensions do not work with them - they often have problems with zoom, scroll, audio, image and keyboard navigation</li> | ||
<li>they take users away from the website, opening in a new tab, window or software - and not all users have the right software</li> | ||
<li>they are hard to maintain and update, so users may get out of date and unreliable content</li> | ||
<li>if users find PDFs in search results, they get them without any supporting context or material</li> | ||
<li>search engines do not rank PDFs high in search results</li> | ||
<li>it's difficult to collect data on how people use PDFs, and that makes it difficult to identify problems and improve them</li> | ||
</ul> | ||
|
||
<h2>Publishing PDFs with an HTML version</h2> | ||
<p>In a few cases, where there is a clear, evidenced user need for it, we publish a PDF. But, as far as possible, we also make the same content available as HTML web pages.</p> | ||
<p>The instances where we may publish a PDF (as well as a web page) are:</p> | ||
<ul> | ||
<li>for niche audiences, where there is a clear user need for special formats (like Easy Read or foreign language leaflets designed to be printed out)</li> | ||
<li>for other downloads designed for printing, such as posters</li> | ||
<li>downloads of reports or publications designed to be published on paper</li> | ||
<li>where there's a legal or regulatory requirement to have a formal, signed document</li> | ||
</ul> | ||
<p>If you do create a new PDF, it must meet the PDF/A standard, which is more accessible. (Follow the <a href="https://www.gov.uk/guidance/how-to-publish-on-gov-uk/accessible-pdfs">GOV.UK guidance on publishing accessible documents</a>.)</p> | ||
|
||
<h2>Older PDFs</h2> | ||
<p>Teams should make sure that:</p> | ||
<ul> | ||
<li>they keep their content up to date</li> | ||
<li>they replace old PDFs with an HTML page or an accessible PDF, or they delete them</li> | ||
</ul> | ||
|
||
<h2>Linking to PDFs</h2> | ||
<p>It's better to link to HTML pages containing PDF content rather than to PDFs themselves. This makes it easier for users to find the latest information.</p> | ||
<p>Read more about writing good <a href="/service-manual/content/links">links</a>, including linking to PDFs.</p> | ||
|
||
<div class="nhsuk-review-date"> | ||
<p class="nhsuk-body-s">Updated: November 2019</p> | ||
</div> | ||
|
||
{% endblock %} | ||
|
||
{% block asideContent %} | ||
{% include './partials/related-nav.njk' %} | ||
{% endblock %} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters