@needs('pavelib.prereqs.install_prereqs')
@cmdopts(BOKCHOY_OPTS)
@PassthroughTask
@timed
def test_a11y(options, passthrough_options):
 options.test_a11y.report_dir = Env.BOK_CHOY_A11Y_REPORT_DIR
 options.test_a11y.coveragerc = Env.BOK_CHOY_A11Y_COVERAGERC
 options.test_a11y.extra_args = (options.get('extra_args', '') + ' -a "a11y" ')
 run_bokchoy(options.test_a11y, passthrough_options)

@ needs ( 'pavelib.prereqs.install_prereqs' ) @ cmdopts ( BOKCHOY_OPTS ) @ PassthroughTask @ timed def test_a11y ( options , passthrough_options ) : options . test_a11y . report_dir = Env . BOK_CHOY_A11Y_REPORT_DIR options . test_a11y . coveragerc = Env . BOK_CHOY_A11Y_COVERAGERC options . test_a11y . extra_args = ( options . get ( 'extra_args' , '' ) + ' -a "a11y" ' ) run_bokchoy ( options . test_a11y , passthrough_options )
run accessibility tests that use the bok-choy framework .