- From: Hilera González José Ramón <jose.hilera@uah.es>
- Date: Wed, 21 Sep 2016 16:17:22 +0000
- To: 'Auto-WCAG List' <public-auto-wcag@w3.org>
- Message-ID: <HE1PR03MB1628145BD280050EA41F1A4F98F60@HE1PR03MB1628.eurprd03.prod.outlook.com>
Dear all, According to the rules template at http://wilcofiers.github.io/auto-wcag/pages/rule-template.html, the format of the test properties and outcomes is aligned with EARL. Maybe could be appropriate to include at the end of each Auto-WCAG Rule the EARL code to express the results of the test. As an example, I have tried to do that with the Rule SC4-1-1-id<http://wilcofiers.github.io/auto-wcag/rules/SC4-1-1-id.html>. The EARL code is at the end of this message. The question is that EARL is a generic vocabulary about testing, and it would be necessary to extend EARL with specific terminology about WCAG testing. As EARL has been defined as a RDF vocabulary or ontology, it easy to extend it. For example, it would be necessary new properties for the term “Assertion”. This term represents the result of an evaluation. There are some EARL properties that matches with the ones used in Auto-WCAG Rule template, but it is necessary to extend them with other used in the rules, as Name, Environment, ID, ErrorMessage,.. And, in some cases, a list of possible values for them as a part of the vocabulary. So, maybe the Auto WCAG group could define a new schema called “auto-wcag”, as an extension of EARL schema available in https://www.w3.org/TR/EARL10-Schema. In this case I offer myself to collaborate to get it. This is the EARL code example for Rule SC4-1-1-id. I have suppose that the auto-wcag vocabulary already exist. @prefix earl: <https://www.w3.org/TR/EARL10-Schema/#> . @prefix ptr: <http://www.w3.org/2009/pointers#>. @prefix auto-wcag: <http://wilcofiers.github.io/auto-wcag/pages/terminology.html#>. [] a earl:Assertion; auto-wcag:name "Define ids for elements"; earl:test auto-wcag:SC4-1-1-parsing; earl:mode earl:automatic; auto-wcag:environment auto-wcag:DOM; earl:subject <URL of single web page>; earl:result [earl:outcome earl:failed; auto-wcag:errorMessage "The ID of this element has occurred before on this page"; earl:pointer [ptr:lineNumber "----"; ptr:charNumber "----"]; auto-wcag:id auto-wcag:SC4-1-1-id-fail1] . Regards ---------------------------------------- José R. Hilera Department of Computer Science University of Alcalá – Spain
Received on Wednesday, 21 September 2016 16:17:57 UTC