The input element must not appear as a descendant of an element with role=button
An element with a role that hides child elements contains focusable child elements.
role=button
This role element marks child elements as presentational, which hides them from the accessibility tree, but some of these children are focusable, so they can be navigated to, but are not voiced in a screen reader.
An element with the attribute tabindex must not appear as a descendant of an element with role=button
The input element must not appear as a descendant of an element with role=button
An element with a role that hides child elements contains focusable child elements.
role=button
This role element marks child elements as presentational, which hides them from the accessibility tree, but some of these children are focusable, so they can be navigated to, but are not voiced in a screen reader.
An element with the attribute tabindex must not appear as a descendant of an element with role=button