Skip to content

Commit b990f99

Browse files
committed
Created accessible graphics page for IMD 2019 and amended the CSS so that the heading and source text is displayed off-screen for the benefit of screen readers as the content is duplicated within the graphic.
1 parent a18b638 commit b990f99

2 files changed

Lines changed: 31 additions & 11 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html lang="en-GB">
3+
<head>
4+
<title>Trafford Data Lab: Index of Multiple Deprivation 2019</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"/>
6+
<meta charset="UTF-8"/>
7+
<meta name="keywords" content="deprivation, deprived, imd, index, multiple, trafford, open, data, open data, data visualisation, visualisation"/>
8+
<meta name="description" content="Index of Multiple Deprivation 2019 for Trafford based on the Indices of Deprivation 2019 from the Ministry of Housing, Communities & Local Government visualised by Trafford Data Lab."/>
9+
10+
<link rel="stylesheet" href="../css/base.css"/>
11+
<link rel="stylesheet" href="../css/accessible_graphics.css"/>
12+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans%7CRoboto"/>
13+
</head>
14+
15+
<body>
16+
<main>
17+
<h1>Index of Multiple Deprivation 2019 for Trafford</h1>
18+
<cite>Source: 2019 Indices of Deprivation, Ministry of Housing, Communities &amp; Local Government.</cite>
19+
20+
<figure>
21+
<img src="https://www.trafforddatalab.io/maps/static/output/trafford_imd19.png" width="600" alt="Map of Trafford showing the Lower-layer Super Output Areas coloured according to their deprivation rank."/>
22+
<figcaption>
23+
The Indices of Deprivation measure relative levels of deprivation in 32,844 Lower-layer Super Output Areas (LSOAs) in England based on 39 indicators. Each LSOA contains approximately 1,500 residents or 650 households. They are ranked from 1 (most deprived) to 32,844 (least deprived) and assigned to a decile ranging from 1 (most deprived 10%) to 10 (least deprived 10%). The Index of Multiple Deprivation (IMD) is an overall measure of relative deprivation. Trafford contains some of most and least deprived areas in the country. The most deprived areas are primarily located in and around the wards of Bucklow-St Martins in the West and Clifford in the North, whilst the least deprived areas are located mainly in the Southern and Central areas of Trafford, particularly in and around the wards of Timperley and Brooklands. It should be noted that Electoral Ward boundaries and LSOA boundaries do not always perfectly align and so it is impossible to aggregate from LSOA to ward exactly.
24+
</figcaption>
25+
</figure>
26+
</main>
27+
</body>
28+
</html>

css/accessible_graphics.css

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
h1
2-
{
3-
margin-bottom: 0.1em; /* to make the heading closer to the citation text */
4-
}
5-
1+
/* The header and source of data are removed from the visible display as they are duplicated within the image, but are able to be read by screen readers. If CSS is turned off they appear in the correct location within the document to make sense of the content. */
62
h1, cite
73
{
8-
margin-left: 2rem;
9-
}
10-
11-
cite
12-
{
13-
font-size: 0.75em;
4+
position: absolute;
5+
top: -30em;
146
}
157

168
img

0 commit comments

Comments
 (0)