The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Accessibility

Accessibility legislation means that all content published on public sector websites, including charts, must meet the level A and AA success criterion in the Web Content Accessibility Guidelines 2.1.

Resources

The Government Analysis Function has published a variety of resources for producing accessible data visualisations:

sgplot has been developed following advice in the above guidance, however, using sgplot does not guarantee accessibility. sgplot should therefore be used in conjunction with this guidance.

Accessibility of charts using sgplot

By applying theme_sg to ggplot2 plots, the following best practice is followed:

sgplot provides colour palettes as set out by the Scottish Government Design System. These palettes have been developed to meet the Web Content Accessibility Guidelines 2.1 for graphical objects and can be applied to charts by using one of the four colour/fill functions:

More information on sgplot colours can be found at vignette("colours").

Other accessibility considerations

Using sgplot does not guarantee accessibility. The Analysis Function chart guidance contains detailed information on other considerations that should be made. Not all of these are repeated here, but we think the following are a good place to start:

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.