-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Ignore a11y checks on child components #1110
Comments
At least until Svelte v2, we are merely suggesting and not enforcing that component names begin with a capital letter and regular elements begin with a lowercase letter. So we have to check whether the given element is actually intended as a component before skipping the a11y checks. |
do not run a11y validation on child component elements
As of 1.52 component attributes are skipped during a11y checks — thanks |
I just encountered an interesting "bug" of the a11y implementation. I have a component that uses scope as the prop name, and I get a warning that The scope attribute should only be used with elements. I feel that a11y should be disabled on component definitions. Here's the full error (including code)
The text was updated successfully, but these errors were encountered: