mirror of
https://github.com/marado/RNID.git
synced 2024-12-22 03:54:21 +00:00
Update 49-imt.sh
adicionado ao script a verificação do estado do WCAG do dominio servicos.imt-ip.pt
This commit is contained in:
parent
bc805bd80d
commit
8982d8375e
@ -33,3 +33,11 @@ else
|
||||
done < README.md > new
|
||||
mv new README.md
|
||||
fi
|
||||
|
||||
# https://servicos.imt-ip.pt/ - não cumpre WCAG 2.0 AA (nem A)
|
||||
## 23/10/2021: there are empty alts
|
||||
emptyalt=$(curl -k -L https://servicos.imt-ip.pt/ | hxclean | hxselect -s '\n' img | hxselect -s '\n' -c 'img::attr(alt)'|grep -c ^$);
|
||||
if [ "$emptyalt" -ne "0" ]; then
|
||||
echo "imt: problemas de acessibilidade";
|
||||
fail=3;
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user