All WCAG criteria
WCAG 2.1·Robust·4.1 Compatible
4.1.2 Name, Role, Value
Level AFor all UI components, the accessible name, role, and current value must be programmatically determinable.
Why it matters
Custom widgets without ARIA are invisible to screen readers.
Common failure
<div class="btn" onclick="open()">Menu</div>
Accessible version
<button aria-expanded="false">Menu</button>
How OnlyEnable handles this
Partially mitigated. OnlyEnable adds inferred ARIA roles to common patterns at runtime.