7
0
mirror of https://github.com/marado/RNID.git synced 2024-12-22 11:55:59 +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:
00tiagopolicarpo00 2021-10-23 21:59:51 +01:00 committed by GitHub
parent bc805bd80d
commit 8982d8375e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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