SSAgov / ANDI

A tool to test web content for accessibility and 508 compliance.
https://www.ssa.gov/accessibility/andi/help/howtouse.html
Other
295 stars 75 forks source link

Add support to show content hidden with aria-hidden #32

Open mraccess77 opened 5 years ago

mraccess77 commented 5 years ago

ICT Testing baseline has checks for aria-hidden on decorative images. It would be great if ANDI could assist with that. Thanks

SSAgovAdmin commented 5 years ago

gANDI can assist with that. It recognizes images with aria-hidden="true" as decorative.

mraccess77 commented 5 years ago

Thanks for pointing that out. aria-hidden is also seen other places such as on icon fonts and occasionally shows up in crazy location such as on the body element -- so it could be useful under the hidden module as well.

mraccess77 commented 5 years ago

Hi, given that aria-hidden can be used incorrectly to hide page content that is not meant to be hidden -- is there any change we can discuss an enhancement to ANDI in the hidden content module? I understand ANDI will show decorative images with hidden -- however I see aria-hidden mostly other places where it is used incorrectly and prevents screen reader access to page content.

SSAgovAdmin commented 5 years ago

That's a great idea. We'll look into adding that feature. Thank you.