Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken aria-attribute aria-labelledby if title is disabled #521

Open
werk21 opened this issue Oct 30, 2024 · 1 comment
Open

Broken aria-attribute aria-labelledby if title is disabled #521

werk21 opened this issue Oct 30, 2024 · 1 comment

Comments

@werk21
Copy link

werk21 commented Oct 30, 2024

Klaro Config

In v0.7.21 the option for disabling title in consent dialog was introduced. But the aria attribute is always set, resulting in an error.

Steps to reproduce

  • Enable Klaro.
  • Disable title.
  • Start WAI check.

Current behavior

The attribute aria-labelledby="id-cookie-title" is always used.

Expected behavior

Only use attribute aria-labelledby="id-cookie-title" if title is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@werk21 and others