- Issue created by @f0ns
Hello, I'm using the FAQ field module on my websites and it's really nice.
I render them with the JQuery accordion formatter.
I've noticed that PageSpeed Insights has accessibility warnings based on the standard implementation.
Setup a FAQ field with formatter JQuery accordion.
Run the PageSpeed Insights tool (https://pagespeed.web.dev/).
You'll see you get a 95 score (if your websites complies on all other points and a notice):
"Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children."
I've already changed the h3 to a button to see if that helps and some other stuff but I keep getting the warning.
Anyone else has any ideas? Would love to get this fixed.
Active
8.0
Code