Describe the bug
ARC Toolkit isn't flagging any failures related to buttons nested inside links. It does flag the inverse as a 4.1.2 failure with the following details:
Focusable element found with presentational children.
Description: A focusable element was found within an ARIA role that defines its children as presentational.
To Reproduce
Run an automated scan on one this markup example:
<a href="#">
<button>test</button>
</a>
Expected behavior
I would expect a similar 4.1.2 flag for buttons inside of links since it has similar compatibility issues with AT calculating a11y properties. Though since links do allow non-presentational children, it would probably need a different description than the one quoted above.
Version information
- Browser and version: Chrome Version 130.0.6723.70 (Official Build) (x86_64)
- ARC Toolkit version: 5.7.5
Describe the bug
ARC Toolkit isn't flagging any failures related to buttons nested inside links. It does flag the inverse as a 4.1.2 failure with the following details:
To Reproduce
Run an automated scan on one this markup example:
Expected behavior
I would expect a similar 4.1.2 flag for buttons inside of links since it has similar compatibility issues with AT calculating a11y properties. Though since links do allow non-presentational children, it would probably need a different description than the one quoted above.
Version information