Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
754 views
in Technique[技术] by (71.8m points)

amp html - AMP validation error: The attribute 'controls' may not appear in tag 'amp-base-carousel'

I am using https://search.google.com/test/amp to validate my web site but it's failed with error message: The attribute 'controls' may not appear in tag 'amp-base-carousel'. while I checked the 'amp-base-carousel' guideline https://amp.dev/documentation/components/amp-base-carousel/#controls, the attribute 'controls' is valid.

Please help me to resolve this. Thank you so much.

Here is my code for amp-base-carousel

<amp-inline-gallery layout="container">
<amp-base-carousel class="amamp-product-list" 
layout="responsive" 
width="313" height="240" snap-align="center" 
loop="true" 
auto-advance="true" 
auto-advance-interval="5000" 
visible-count="1" 
lightbox 
controls="never">
<div class="amamp-product-item">
...
...
...
question from:https://stackoverflow.com/questions/65866945/amp-validation-error-the-attribute-controls-may-not-appear-in-tag-amp-base-c

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...