Reports Swing components that fail to provide accessibility context. It will be very hard to use such components for visually impaired users who use screen readers.
Example:
ListCellRenderer<String> renderer = (list, val, index, sel, cell) -> { JPanel panel = new JPanel(); return panel; };
To fix the problem, you should either call setAccessibleName()
on the returned JPanel
or override its getAccessibleContext()
method.