Skip to content

[v1 reporter] Could 'failureSummary' be rendered for 'incomplete' audit results? #1971

@jayaddison

Description

@jayaddison

The axe-core v1 reporter adds a failureSummary field to each result in the list of audit violations (ref). This field contains human-readable help messaging to explain changes required to resolve the situation.

While making some changes in GoogleChrome/lighthouse#10072, I noticed that this field isn't present for results marked as incomplete (this was discovered via some test expectations (ref)).

Expectation: The list of incomplete results would contain a corresponding failureSummary field.

Actual: failureSummary is only populated for violations

Motivation: Assuming it's possible to populate the field for incomplete results, this field could be useful for client libraries to display help messaging to inform developers/designers on how to resolve potential accessibility issues.


axe-core version: 3.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions