wet-boew/wet-boew-wpss

Consider an option to evaluate content that is hidden under display:none

Opened this issue · 1 comments

WAVE Tool automatically evaluates content that is hidden with display:none. They assume it will eventually be shown (i.e., a modal dialogue etc.)

On the other hand axe ignores elements that are hidden that way, because they don't want to assume it will be shown later.

I think it would be great to be able to run a scan of

  • only elements that are shown on page load (like Axe)
  • only elements that are hidden with display:none (or perhaps visibility:hidden or other means) (NOBODY DOES THIS YET)
  • both elements that are shown AND those that are hidden (WAVE, SITEIMPROVE etc.)

There would be a lot of value in all of these options.

Identifying use of display:none as well as aria-hidden="true", role="presentation", and role="none" would be useful. I think a lot of times people are not aware of what is invisible to AT.