You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional tags used by Attest, but are not seen in the rule-descriptions.md file
Used by Attest, but not seen in axe-core:
cat.time
section508.22.b
wcag125
wcag125
wcag144
I'm happy to update the TagValue type to include these tags, but this doesn't seem like a sustainable practice, as we're going to eventually add more tags (and forget to add them).
Thoughts on how to continue?
The text was updated successfully, but these errors were encountered:
Our type file continues to be out of date with our actual API. We should either convert our code to use TypeScript or develop a way to automate the types file. I vote on the former.
Tags (especially in custom rules) can be any string. Hard-coding this list prevents the ability to use custom tags.
This patch has the unfortunate side-effect of preventing intellisense in TypeScript-enabled editors, but provides more "technically correct" types.
Related #2312
Tags (especially in custom rules) can be any string. Hard-coding this list prevents the ability to use custom tags.
This patch has the unfortunate side-effect of preventing intellisense in TypeScript-enabled editors, but provides more "technically correct" types.
Related #2312
The
TagValue
type is missing many values. This makes setting these tags impossible when using the TypeScript compiler (as most Attest products do).Tags that are not allowed by the definition, but are used in axe itself
Each of these tags can be seen in the
doc/rule-descriptions.md
file.Additional tags used by Attest, but are not seen in the rule-descriptions.md file
Used by Attest, but not seen in
axe-core
:I'm happy to update the
TagValue
type to include these tags, but this doesn't seem like a sustainable practice, as we're going to eventually add more tags (and forget to add them).Thoughts on how to continue?
The text was updated successfully, but these errors were encountered: