Open ghost opened 2 years ago
Probably RT templates are different then Hydrogen, because on my test site with Hydrogen (Gantry 5.5.11), the accessibility validator is working fine, without errors.
It works fine in Hydrogen, Fluent and Clarity, but I have issues with Callisto and Myriad.
Ok I've spent a lot of time tracking this down...
So, in summary, the plugin is looking for and when it doesn't find it it breaks - I think the plugin should be more robust than it is and this problem should be reported to Joomla.
In the meantime.... if you really want to work around this issue - just put a customhtml particle anywhere on the layout with <main></main>
inside it and then the plugin does work.
I hope that helps others.
Thanks for your help and time. I can confirm an empty main container put anywhere in the page does solve the issue. I didn't find any other selector working even "body".
The new accessibility validator in Joomla 4.1 does not function with Gantry 5 and RT templates - it works fine in casseopia - JS errors shown in the browser console...
Uncaught (in promise) TypeError: this.$root is null findElements http://xxxxxxxxxx/j3/interstellar/media/plg_system_jooa11y/js/jooa11y.min.js?9931091da78ee75ad2889d3f1f1113f6327285d1:1 checkAll http://xxxxxxxxxxe/j3/interstellar/media/plg_system_jooa11y/js/jooa11y.min.js?9931091da78ee75ad2889d3f1f1113f6327285d1:1 doInitialCheck http://xxxxxxxxx/j3/interstellar/media/plg_system_jooa11y/js/jooa11y.min.js?9931091da78ee75ad2889d3f1f1113f6327285d1:1