Accessibility Validation Rules Evaluation Results
From MemberWiki
Accessibility Home | Issue Tracker | WCAG 2.0 Rules | Rules Format 1.0 | Cache | Proposed WCAG 2.0 Techniques | Rule Review | Testsuite | Evaluation Results | Reporting Practices
Example OAA Rule Results JSON Object
// Example OAA Rules Result Object
//
{
"oaa_rule_result" : {
// Add Information to identify site
"title" : "Open Ajax Accessibility",
"url" : "http://www.openajax.org/Accessibility",
"date" : "2011-03-07",
"time" : "08:20",
// Add Requirement Results Array
"results" : [
{
"requirementNumber" : "1.1.1",
"requirementTitle" : "1.1.1 Non-text Content",
"requirementDesc" : "All non-text content that is presented to the user has a text alternative that serves the equivalent purpose, except for the situations listed below.",
"requirementLevelCode" : "LEVEL_A",
"requirementLevel" : "A",
"requirementUrl" : "http://www.w3.org/TR/WCAG20/#text-equiv",
"rules" : [
{
"ruleID" : "RULE_1",
"ruleTitle" : "Rule 1 Images must have valid alt text.",
"ruleMessage" : "Rule 1 Non-decorative images that convey meaning must have valid alt text."
"ruleSeverityCode" : "SEVERITY_VIOLATION",
"ruleSeverity" : "Violation",
"rulePriorityCode" : "PRIORITY_P1"
"rulePriority" : "Priority 1"
"resultCode" : "SEVERITY_PASS",
"result" : "Pass",
"passed" : {
"nodeID" : [ ],
},
"failed" : {
"nodeID" : [ ],
},
},
{
"ruleID" : "RULE_2",
"ruleTitle" : "Rule 2 Image file name is not valid alt text.",
"ruleMessage" : "Rule 2 An image file name may not be specified for valid alternative text."
"ruleSeverity" : "SEVERITY_VIOLATION",
"rulePriority" : "PRIORITY_P1"
"result" : "Pass",
"passed" : {
"nodeID" : [ ],
},
"failed" : {
"nodeID" : [ ],
},
},
.
.
.
.
.
],
},
{
"requirementNumber" : "1.2.1",
"requirementLevel" : "LEVEL.A",
"requirementUrl" : "http://www.w3.org/TR/WCAG20/#media-equiv-av-only-alt",
"rules" : [
{
"ruleID" : "RULE_79",
"ruleTitle" : "Rule 79 Prerecorded audio with no video or image tracks needs a text transcript which includes speaker information.",
"ruleMessage" : "Rule 79 If object, embed, applet or audio element is used to include prerecorded audio verify a text transcript of the audio is included or linked to the page."
"ruleSeverity" : "SEVERITY_POTENTIAL_VIOLATION",
"rulePriority" : "PRIORITY_P1"
"result" : "Pass",
"passed" : {
"nodeID" : [ ],
},
"failed" : {
"nodeID" : [ ],
},
},
{
"ruleID" : "RULE_80",
"ruleTitle" : "Rule 80 Prerecorded video with no audio track needs text or audio descriptions of the video content.",
"ruleMessage" : "Rule 80 If object, embed, applet or video element is used to include prerecorded video verify a text or audio description of the video is included or linked to the page."
"ruleSeverity" : "SEVERITY_POTENTIAL_VIOLATION",
"rulePriority" : "PRIORITY_P1"
"result" : "Pass",
"passed" : {
"nodeID" : [ ],
},
"failed" : {
"nodeID" : [ ],
},
.
.
.
],
},
.
.
.
.
.
.
]
}
}
