Skip to content

Incorrect typings for axe.RunOnly #972

Closed
@stephenmathieson

Description

The TS definitions for axe.RunOnly are incorrect. As suggested by axe-core.org, the runOnly option should have a property values which is an Array of rule IDs. However, in the TS definition, RunOnly is either an Array of TagValues or a RunOnlyObject (which has properties include and exclude, making it look like it belongs to ElementContext, not RunOnly).

It looks like these definitions are built by hand, so if you're all on-board, I'd be happy to fix it.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions