Fix accessibility check for h tags with classs attributes