• Resolved priyankac

    (@priyankac)


    Hello team,

    Recently, I encountered an issue: “The attribute ‘class’ in tag ‘amp-twitter’ is set to the invalid value ‘i-amphtml-layout-responsive i-amphtml-layout-size-defined i-amphtml-element i-amphtml-built i-amphtml-layout’. and The attribute ‘class’ in tag ‘amp-img’ is set to the invalid value ‘i-amphtml-layout-responsive i-amphtml-layout-size-defined i-amphtml-element i-amphtml-built i-amphtml-layout amp-notsupported’. ” This issue affects all our AMP pages, as indicated by the SEMrush report.

    Please let me know what the issue is and how we can resolve it.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, Thank you for reaching out to us. Could you please share the URL once so we can check.

    mamtabithu

    (@mamtabithu)

    Hello,

    I’m encountering similar issue with the amp-img tag in my AMP page. The error message indicates that the class attribute of the amp-img tag is set to an invalid value: 'i-amphtml-element i-amphtml-layout-responsive i-amphtml-layout-size-defined i-amphtml-built'.

    Is there a solution to this problem? It seems that these class names are not being accepted, and I’m not sure how to resolve it. Issues are indicated by the SEMrush report.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    @mamtabithu Hi, Kindly share the URL once so we can check.

    mamtabithu

    (@mamtabithu)

    Thanks for reply here is the link https://www.fusioncharts.com/blog/10-best-javascript-charting-libraries-for-data-visualization-in-2024/amp/

    Few of errors reported by SEMrush are as follows:-

    The attribute ‘class’ in tag ‘amp-img’ is set to the invalid value ‘i-amphtml-element i-amphtml-layout-responsive i-amphtml-layout-size-defined i-amphtml-built i-amphtml-layout amp-notsupported’.

    The attribute ‘class’ in tag ‘amp-img’ is set to the invalid value ‘i-amphtml-element i-amphtml-layout-responsive i-amphtml-layout-size-defined i-amphtml-built’.

    The attribute ‘class’ in tag ‘amp-img’ is set to the invalid value ‘i-amphtml-element i-amphtml-layout-responsive i-amphtml-layout-size-defined i-amphtml-built’.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    @mamtabithu : Hi, thank you for sharing this. We have raised a GitHub ticket regarding this concern, and it will be addressed in the upcoming update. We kindly request your patience in the meantime.

    Here is the ticket: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5636

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.