blacklight icon indicating copy to clipboard operation
blacklight copied to clipboard

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

Open MrDys opened this issue 12 years ago • 4 comments

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

  • "do you have BL configured correctly to work against solr index"?
  • w3c html tests
  • basic accesibility

MrDys avatar Mar 13 '12 18:03 MrDys

Original reporter: ndushay

MrDys avatar Mar 13 '12 18:03 MrDys

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 avatar Mar 13 '12 18:03 MrDys

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

MrDys avatar Mar 13 '12 18:03 MrDys

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.

MrDys avatar Mar 13 '12 18:03 MrDys