Nested interactive controls are not announced by screen readers
修正方法
Correct markup solutions
Interactive control elements must not have focusable descendants.
<button>Submit</button>
Incorrect markup solutions
<button>
Save
<a href="rules/axe/html#">More options</a>
</button>
<div role="button">
Search
<a href="rules/axe/html#">Settings</a>
</div>
なぜ重要なのか
Focusable elements with an interactive control ancestor (any element that accepts user input such as button or anchor elements) are not announced by screen readers and create an empty tab stop. That is, you could tab to the element but the screen reader will not announce its name, role, or state.
ルールの説明
Nested interactive controls are not announced by screen readers
仕組みについて (簡単に言うと)
Checks all interactive controls and ensures they do not contain focusable child elements.