-
Notifications
You must be signed in to change notification settings - Fork 850
Closed
Labels
coreIssues in the core code (lib/core)Issues in the core code (lib/core)featNew feature or enhancementNew feature or enhancementgood first issueFor first-time contributorsFor first-time contributors
Milestone
Description
Product
axe-core
Feature Description
When analyzing a axe Watcher results in prod, we noticed we have a few excessively large datums (>1MB). This is preventing us from migrating result data to a different (much faster data store).
After digging further, it was noticed that this is due to axe-core including the element in violation's outerHTML (eg .violations[x].nodes[y].html) and its related node's outerHTML (.violations[x].nodes[y].relatedNodes[z].html). Consider the following snippet:
<img class="foo" src="data:png,base64, EXTREMELY LARGE IMAGE CONVERTED TO BASE64" />It appears axe-core is already truncating some parts (children) of the element's HTML, but not the element itself.
An option similar to axe.configure({ noHtml: true }) which causes axe-core to truncate ALL HTML snippets would be extremely helpful.
Metadata
Metadata
Assignees
Labels
coreIssues in the core code (lib/core)Issues in the core code (lib/core)featNew feature or enhancementNew feature or enhancementgood first issueFor first-time contributorsFor first-time contributors