Generic functions to test for accessible mark up