Empty keypress attribute breaks AMP compatibility
-
I just noticed that Zakra is adding an empty
keypress
attribute in thezakra_add_submenu_icon()
function: https://themes.trac.www.ads-software.com/browser/zakra/3.0.20/template-parts/hooks/header/primary-menu.php#L120This doesn’t have any effect. Also, it causes the AMP plugin to report a validation error since this is inline event handlers aren’t allowed by the AMP spec.
Can this attribute be removed?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.