guardian / guardian/dotcom-rendering

DAC: Better labels for 3rd party embed buttons

Open
#5,335 0 comments 0 reactions 0 assignees View on GitHub
a11y Accessibility Audit
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

Currently a lot of (all?) consent buttons on 3rd party embeds just have the label 'Allow and continue'. This is particularly likely to cause issues for users navigating the site using a screen reader in a 'non-contextual' mode, as they will just be told about a set of identically labelled buttons, with no further information about what they're for.

@AshCorr and @OllysCoding suggested that this issue can be addressed by edits to the [ClickToView](https://github.com/guardian/dotcom-rendering/blob/main/dotcom-rendering/src/web/components/ClickToView.tsx) component.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.