Skip to content

Implementing composed rules #1349

Open
Open
@WilcoFiers

Description

@WilcoFiers

The ACT Task force has asked for me to look into the issue that atomic rules that don't map directly to an SC, but do so through a composite rule have no implementation data. I think I figured out a solution, which I'd like to run by this group.

Similar to how we say inapplicable examples have to satisfy all accessibility requirements of that rule, I think all failed examples of atomic rules must fail the composite rules they are part of. For example in the "Autoplay has a control" rule, none of the failed examples should have audio that's shorter than 3 seconds. I think we already do this, I'd be surprise if that wasn't already the case anywhere, but this would make sure we can do the mapping on these.

Second thing to do here is to start including test cases of all the atomic rules in the list of test cases of the composite rule. That'll require an update to the script that creates testcases.json.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions