node.failureSummary and violation.impact may be empty, according to axe-core types. Is this so? If it is, when can they be empty, and what (if anything) should I do to guard Accented from these empty values?
|
description: node.failureSummary ?? violation.description, |
|
impact: violation.impact ?? null, |
node.failureSummaryandviolation.impactmay be empty, according to axe-core types. Is this so? If it is, when can they be empty, and what (if anything) should I do to guard Accented from these empty values?accented/packages/accented/src/utils/transform-violations.ts
Line 47 in 525a622
accented/packages/accented/src/utils/transform-violations.ts
Line 49 in 525a622