
Check Computed Role
Catch markup changes that affect screen readers
Check Computed Role compares the accessibility role of an element with the value you expect. Use it to confirm custom controls, dialogs and menus expose the right semantics.
Use it where roles drive the experience:
Custom controls after a refactor
Dialogs and menus
Tabs, switches and other widgets
Check Computed Role pairs with Check Computed Label when both role and label matter, and Check Computed Style for visual state. Add Pa11y for a wider accessibility check.
