accessibility-insights-windows
accessibility-insights-windows copied to clipboard
[General Question] Warning for each list item in a win32 list control in report mode
How do I handle the warning I get for each list control item in a win32 list control in report mode about non-conforming structure
My application uses a pretty standard win32 list control (syslistview32) from comctl32 in report mode. If I run AI4Win tests against it, I get a warning for each and every list control item about a seemingly non-conforming structure. The warning message text is the following:
"The given element is expected to have the following structure: ListItem and NoChild(IsContentElement)."
The suggested fix goes like this: "Set the element to conform to the following structure: ListItem and NoChild(IsContentElement)."
I do not have the faintest idea what AI4Win is telling me here, can please somebody explain? Is there something I can do to avoid this warning?
Any help appreciated,
-- Stefan