MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

exemplar tests for demo app - w3c compliance, accessibility, relevance?? #284

Open MrDys opened 12 years ago

MrDys commented 12 years ago

CODEBASE-110: We should provide exemplar tests for the demo app. Some excellent candidates:

MrDys commented 12 years ago

Original reporter: ndushay

MrDys commented 12 years ago

jkeck: Possibly load html of views and give it an element wrapper and validate it as XML.

This could potentially have some pitfalls. Do we want tests to fail if somebody hast HTML that doesn't validate as XML?

MrDys commented 12 years ago

jkeck: We can implement HTML5 tests until the OpenSearch meta tags are accepted into the HTML5 standard.

MrDys commented 12 years ago

jkeck: I have some code that I've written initially for Hydra but implemented in SearchWorks that hits the W3C validator API and returns the passed status or error. This will print a message and pass when there is no network connection or the validator isn't available.