You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2023. It is now read-only.
Currently there is no way to directly inject a URL and ID into the axe-core pub-sub from the API that is not the crawler and something that needs to be addressed.
Based on the model proposed in #9, save the axe-core report to the DB. We can assume that each report will have the following top level keys:
with the URL and ID being injected through the crawler here: https://github.com/cds-snc/scan-websites/blob/main/api/crawler/crawler.py#L34 and here: https://github.com/cds-snc/scan-websites/blob/main/api/pub_sub/pub_sub.py#L16
Currently there is no way to directly inject a URL and ID into the axe-core pub-sub from the API that is not the crawler and something that needs to be addressed.
This issue should also extract the content of the report and save the relevant data as a summary. An example of that summary can be found here https://github.com/cds-snc/a11y-tools/blob/main/processing/persist-lambda/src/impl.ts#L148-L156 although this should inspire more than anything else.
Attached is a sample JSON of the an axe-core report.
sample.json.txt
The text was updated successfully, but these errors were encountered: