Show / Hide Table of Contents

Class AxePageResult

Represents the complete result of accessibility test for a single page.

Inheritance
object
BaseResult
AxePageResult
Inherited Members
BaseResult.Scorebase
BaseResult.Score
BaseResult.ScoreRotation
BaseResult.ScoreForegroundColor
BaseResult.ScoreBackgroundColor
Namespace: AxaFrance.AxeExtended.HtmlReport
Assembly: AxaFrance.AxeExtended.HtmlReport.dll
Syntax
public class AxePageResult : BaseResult
Remarks

On a complete audit of an application, the test should be performed on all pages.

Constructors

| Edit this page View Source

AxePageResult(AxeResult, PageReportBuilder)

Create a new instance of AxePageResult

Declaration
public AxePageResult(AxeResult result, PageReportBuilder htmlReportBuilder)
Parameters
Type Name Description
AxeResult result

Original AxeResult provided by Axe core library

PageReportBuilder htmlReportBuilder

the report builder used for the page.

Properties

| Edit this page View Source

AxeResult

Underlying AxeResult

Declaration
public AxeResult AxeResult { get; }
Property Value
Type Description
AxeResult
| Edit this page View Source

Builder

The builder that created this report.

Declaration
public PageReportBuilder Builder { get; }
Property Value
Type Description
PageReportBuilder
| Edit this page View Source

Inapplicable

These results indicate which rules did not run because no matching content was found on the page. For example, with no video, those rules won't run.

Declaration
public AxeResultEnhancedItem[] Inapplicable { get; }
Property Value
Type Description
AxeResultEnhancedItem[]
| Edit this page View Source

Incomplete

These results were aborted and require further testing. This can happen either because of technical restrictions to what the rule can test, or because a javascript error occurred.

Declaration
public AxeResultEnhancedItem[] Incomplete { get; }
Property Value
Type Description
AxeResultEnhancedItem[]
| Edit this page View Source

Passes

These results indicate what elements passed the rules.

Declaration
public AxeResultEnhancedItem[] Passes { get; }
Property Value
Type Description
AxeResultEnhancedItem[]
| Edit this page View Source

TestEngine

The application that ran the audit.

Declaration
public AxeTestEngine TestEngine { get; }
Property Value
Type Description
AxeTestEngine
| Edit this page View Source

TestEnvironment

Information about the current browser or node application that ran the audit.

Declaration
public AxeTestEnvironment TestEnvironment { get; }
Property Value
Type Description
AxeTestEnvironment
| Edit this page View Source

TestRunner

The runner that ran the audit.

Declaration
public AxeTestRunner TestRunner { get; set; }
Property Value
Type Description
AxeTestRunner
| Edit this page View Source

Timestamp

The date and time that analysis was completed.

Declaration
public DateTimeOffset? Timestamp { get; }
Property Value
Type Description
DateTimeOffset?
| Edit this page View Source

Url

The URL of the page that was tested.

Declaration
public string Url { get; }
Property Value
Type Description
string
| Edit this page View Source

Violations

These results indicate what elements failed the rules.

Declaration
public AxeResultEnhancedItem[] Violations { get; }
Property Value
Type Description
AxeResultEnhancedItem[]

Methods

| Edit this page View Source

GetScore()

Calculate the score of the tested page using following weighted methods for Failed and Passed audits.

Declaration
protected override int GetScore()
Returns
Type Description
int

The accessibility score.

Overrides
BaseResult.GetScore()
Remarks
  • Weight of each passed and failed audit is based on impact of each axe rule: critical, seruous, moderate or minor
  • Incomplete rules are not calculated in the score
  • Edit this page
  • View Source
In this article
Back to top Copyright ® 2016-2025 AXA France, All rights reserved.