What's wrong
Misspelled roles like `role="btn"` or `role="nav"` are ignored by assistive tools.
Who it affects
Screen readers treat the element as generic text or a generic container, discarding accessibility semantics.
How to fix on WordPress
Update theme template files and block attributes to use valid ARIA role specifications.
Code example
Problematic Code
PHP
<nav role="navigation-bar">...</nav>Recommended Accessible Code
PHP
<nav aria-label="<?php esc_attr_e( 'Main Menu', 'textdomain' ); ?>">...</nav>How to check your fix
Inspect elements with `role` attributes in DevTools. Check against the W3C WAI-ARIA Roles specification.