mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
* rename float to discrete * use same section title level on all source files * Elasticsearch => {es} Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
23 lines
No EOL
846 B
Text
23 lines
No EOL
846 B
Text
[[development-accessibility-tests]]
|
|
== Automated Accessibility Testing
|
|
|
|
To run the tests locally:
|
|
|
|
[arabic]
|
|
. In one terminal window run
|
|
`node scripts/functional_tests_server --config test/accessibility/config.ts`
|
|
. In another terminal window run
|
|
`node scripts/functional_test_runner.js --config test/accessibility/config.ts`
|
|
|
|
To run the x-pack tests, swap the config file out for
|
|
`x-pack/test/accessibility/config.ts`.
|
|
|
|
After the server is up, you can go to this instance of {kib} at
|
|
`localhost:5620`.
|
|
|
|
The testing is done using https://github.com/dequelabs/axe-core[axe].
|
|
The same thing that runs in CI, can be run locally using their browser
|
|
plugins:
|
|
|
|
* https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US[Chrome]
|
|
* https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/[Firefox] |