govuk_publishing_components icon indicating copy to clipboard operation
govuk_publishing_components copied to clipboard

Chart component minimal option isn't obviously a link

Open andysellick opened this issue 4 months ago • 0 comments

The chart component now includes an option for minimal - to make it extremely simple (e.g. hide axis values) and transform it mostly into a link, to be used where the chart is to be shown in a small space and only as an overview and not a full chart.

For screenreader users the link is identified as a link and contains text, however there is no indication that the chart is a link for sighted users, apart from a focus state after they have clicked on it. While the intended use of this version of the component is alongside text to indicate that a link is present, it would be possible to use the component in another context where its status as a link is unclear.

Example below (not obviously a link)

Screenshot 2024-10-22 at 13 39 22

andysellick avatar Oct 22 '24 12:10 andysellick