Result
open class Result
A class containing information about whether a view passed the Check, and if it did not, how critical the violation is.
-
The severity of the violation. The Impact may be one of the following:
- Impact.Pass
- Impact.Minor
- Impact.Moderate
- Impact.Serious
- Impact.Critical
Declaration
Swift
open let impact: Impact
-
A description of the violation and/or help on how to fix the accessibility violation.
Declaration
Swift
open let message: String
-
A unique identifier for the Result.
Declaration
Swift
open var id: String?
-
Describes the result of the Check with the impact and explanation of the violation.
Declaration
Swift
open var description: String
Return Value
String containing the impact and message.