Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
760 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 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...