This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Fix Lighthouse Issue for iframe title?
#1

I checking my sites with Lighthouse within my CI Chain and decided if the build was successfully based on the scoring.

Lighthouse is complaining on missing iframe title of the Commentics integration.
By any chance would it be possible to adjust the code for delivering the iframe with a title?
Reply
#2

Thanks for pointing this out.

You can resolve it by opening /comments/embed.js and making this change:

Find this:
Code:
iframe.setAttribute('tabindex', '0');

Add this after it:
Code:
iframe.setAttribute('title', 'Commentics');

I'll include the change in the next version.

Have you completed the interview?
Reply
#3

Thanks Steven, works like a charm!
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by sandman
16-May-2012, 05:20 PM
Last Post by Steven
14-Aug-2010, 12:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)