lemmy-ui/accessibility_tests.sh

20 lines
348 B
Bash
Raw Permalink Normal View History

2021-02-09 16:54:41 +00:00
#!/bin/bash
2021-04-21 11:57:42 +00:00
set -e
2021-02-09 16:54:41 +00:00
ignores="WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
base_url="http://192.168.50.60:1234"
test_urls=(
$base_url
$base_url/communities
$base_url/login
$base_url/search
$base_url/c/announcements
$base_url/u/dessalines
$base_url/post/34286
)
for i in "${test_urls[@]}"; do
pa11y --ignore="$ignores" "$i"
done