Resolved broken logic in accessibility check.