Provide a setting to evaluate hidden content
Opened this issue · 0 comments
DavidMacDonald commented
Which will become visible at some point (Modal, drop down, popups, etc.)
I bet there is a certain group of common elements that REACT would not populate. For instance, I doubt it would inject or mess with the following:
- ALT text in an image
- aria-* tokens
<label for>
and form field combinations- ids referenced by aria-labelledby, describedby, aria-controls, aria-errormessage,
- etc...
I think there are a number of things that could be safely evaluated when they are hidden. It would be great to have that setting to evaluate hidden content back... and just leave out high risk elements such as:
-
<a ...></a>
(commonly injected by REACT) - empty
<div>
or<span>
elements - etc...
when the setting is set to check hidden content.