Interactive controls must not be nested
Moderatenested-interactive
What it checks
Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies
How to fix it
Review and fix this accessibility issue following WCAG guidelines
WCAG
Success criteria 4.1.2. See the WCAG 2.2 quick reference.
More detail: Deque University's page on this rule.