dequelabs / dequelabs/axe-core

Have axe.finishRun failed iframe state should accept serialized error object instead of null

Open
#3,095 0 comments 0 reactions 0 assignees View on GitHub
feat
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

Currently we pass `null` to `axe.finishRun` when an iframe fails for any reason on `axe.runPartial`.

```js
axe.finishRun([results, null, results])
```

However, this doesn't allow us to know why the iframe failed similar to #3002. If `axe.finishRun` were to instead accept a serialized error object we could make use of those errors (how is still being discussed).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.