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

Add aria-description to a11y linting #7301

Closed
stordahl opened this issue Feb 22, 2022 · 1 comment · Fixed by #7302
Closed

Add aria-description to a11y linting #7301

stordahl opened this issue Feb 22, 2022 · 1 comment · Fixed by #7302

Comments

@stordahl
Copy link
Contributor

Describe the bug

Currently the use of aria-description triggers the 'unknown aria attribute' warning. aria-description serves the same purpose as aria-describedby, however aria-description property should only be used when providing a visible description is not the desired user experience.

Reproduction

Just use aria-description to an HTML element and observe the compiler warning.

Logs

No response

System Info

Any/all systems, browsers, and build tools.

Severity

annoyance

@Conduitry
Copy link
Member

This should be included in 3.46.5.

nevilm-lt pushed a commit to nevilm-lt/svelte that referenced this issue Apr 21, 2022
nevilm-lt pushed a commit to nevilm-lt/svelte that referenced this issue Apr 21, 2022
nevilm-lt pushed a commit to nevilm-lt/svelte that referenced this issue Apr 22, 2022
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

Successfully merging a pull request may close this issue.

2 participants