3

I'm an accessibility expert. When auditing a website, I'm usually (among many other things) try to find some tables that don't meet the requirements (e.g. missing th elements in data tables).

As it is cumbersome to search for such tables manually, it would be very handy to be able to search for them using google, the same way that (for example) filetype search work:

filetype:pdf site:access-for-all.ch

I tried a little bit around, and couldn't find a solution. Although Google has a tables search...

https://research.google.com/tables

...I couldn't make it work for me. I tried searching for "zugang für alle" Audit and site:access-for-all.ch preise, but none of them showed results, although there clearly is a table with "preise" in it on http://www.access-for-all.ch/ch/zertifizierung/kostenuebersicht.html.

Any idea on how this works? And how to make it suit my needs (searching for tables in general)?

2
  • I'm not sure how to accomplish that in Google, but a web programmer could easily code a "website scraper" that looks for both the <table> tag and the <th> tag in any website you choose. In essence, a scraper retrieves the HTML of a web page just like a browser would, but instead of displaying it visually, it analyzes the text of the page that was output. Jan 12, 2017 at 22:33
  • 1
    I found this question on the StackOverflow community. It includes several answers that recommend other web browsers (instead of Google). Those other web browsers allow you to search the HTML of websites without having to program a scraper. Jan 12, 2017 at 23:31

1 Answer 1

-1

Have you tried using an existing accessibility checker?

I would expect at least some of the tools on this list would check table headers for you.

https://www.w3.org/WAI/ER/tools/

eg http://wave.webaim.org/

2
  • 1
    This doesn't answer my question. I do know how to test tables for accessibility, my question is: how do I find tables in the first place on a website? Jan 17, 2017 at 19:52
  • 1
    I see. I will update my answer Jan 18, 2017 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.