Class: LevelAccessPlatformReportingService

LevelAccessPlatformReportingService

This class encapsulates all of the functionality for submitting accessibility findings identified using Continuum to Level Access Platform. Reporting test results from Continuum to Level Access Platform requires opening a scan session first by calling openScanSession(), you will need to provide the workspace, digital property, scan tag, and session name that will be used. Having the session created you can then send results to the Level Access Platform by calling submit(). Don't forget to close the scan session by calling completeScanSession().

Methods

completeScanSession()

This method closes the current scan session.
Source:
Throws:

openScanSession(params)

This method opens a new scan session.
Parameters:
Name Type Description
params Object Object parameters
Properties
Name Type Description
sessionName string Name for the scan session
workspaceId string (Optional) Id of the workspace to be used. If no value is provided then the corrosponding property from the Configuration object will be used.
digitalPropertyId string (Optional) Id of the digital property to be used. If no value is provided then the corrosponding property from the Configuration object will be used.
scanTagId string (Optional) Id of the scan tag to be used. If no value is provided then the corrosponding property from the Configuration object will be used.
baseUrl string (Optional) The base URL for all pages being scanned within this session. If no value is provided then the location the browser / window is currently on will be used.
Source:
Throws:

submit(assertions)

This method submits results to the current scan session.
Parameters:
Name Type Description
assertions Array.<Assertion> Results to be pushed to the current scan.
Source:
Throws: