-
Notifications
You must be signed in to change notification settings - Fork 235
Closed
Labels
1.0.0Issues that should be addressed for a 1.0 release!Issues that should be addressed for a 1.0 release!Component: Progress barComponent: Progress circleComponent: ToolingIssue or PR dealing with scripts, workflows, automation, etc. Component prefix is for JiraIssue or PR dealing with scripts, workflows, automation, etc. Component prefix is for JiraDev Builda11yIssues or PRs related to accessibilityIssues or PRs related to accessibility
Description
When sp-progress-bar applied role="progress" to itself the implication is that label (which applies a visible label to the shadow DOM) or aria-label/lledby is required to ensure the accessibility of the element. We'd like to ensure that here and in other locations where element sprout roles onto themselves these sorts of requirements are maintained at more than just the documentation level.
Can TS or lit-plugin or something else support the inclusion of required attributes?
If not, can we do so with a SWC specific linting plugin?
If not, should we add runtime warnings (possibly a development build 🙈) to clarify the absence of these attribute?
hunterloftis
Metadata
Metadata
Assignees
Labels
1.0.0Issues that should be addressed for a 1.0 release!Issues that should be addressed for a 1.0 release!Component: Progress barComponent: Progress circleComponent: ToolingIssue or PR dealing with scripts, workflows, automation, etc. Component prefix is for JiraIssue or PR dealing with scripts, workflows, automation, etc. Component prefix is for JiraDev Builda11yIssues or PRs related to accessibilityIssues or PRs related to accessibility