Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Carlos Duarte <979068b811fccff1ba42a412ceef8865660eb2d4@gmail.com>
dequelabs/axe-core,dequelabs/axe-core,dequelabs/axe-core,dequelabs/axe-core