• Resolved Michael Bourne

    (@michaelbourne)


    Hey @philsbury

    Would it be possible to have the plugin only change the viewport meta if the age gate is rendered, and have to reset it after the modal closes? This would be specific to the JavaScript method for showing it. It gets flagged in a Lighthouse audit which brought it to my attention.

    Cheers,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @michaelbourne,

    Feel like that is very much a bug that’s been lurking for some time!

    In 2.13.1 it’ll change back to it’s original state if there was one or remove it if it wasn’t and perhaps more importantly, not add it at all if age gate doesn’t;t need to be shown.

    Out of interest, what’s lighthouse saying?

    Cheers
    Phil

    Thread Starter Michael Bourne

    (@michaelbourne)

    That’s good news, much appreciated. Lighthouse flags it as an accessibility error, which isn’t wrong on their part I suppose. Just something that’s good to clean up, appreciate you doing it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Viewport Meta’ is closed to new replies.