Jump to content
  • 0

ошибка валидатора


cyklop77
 Share

Question

извиняюсь за портянку кода, но не могли бы вы пояснить пожалуйста ошибку, которую находит html-валидатор от w3c?


<div style="max-width: 830px; max-height: 220px" data-options="{"dimensions":{"width":830,"height":220,"responsive":true},"transitions":{"effect":"fade","duration":1000},"navigation":{"arrows":true,"arrows_hover":true,"arrows_position":"inside","pagination":false,"pagination_hover":false,"pagination_position":"inside","pagination_location":"bottom-center"},"playback":{"enabled":true,"pause":2000}}" class="easingsliderlite is-firefox use-fade use-css3 is-responsive">
<div style="padding-top: 26.506024096386% !important;" class="easingsliderlite-viewport">
<div style="width: 100%; padding-top: 26.506% ! important;" class="easingsliderlite-slides-container">
<div style="max-width: 830px; max-height: 220px; width: 830px; height: 220px; opacity: 0; display: none;" class="easingsliderlite-slide">
<img title="Слайд 1" alt="" class="easingsliderlite-image" src="http://test1.ru/site_isolation/localsite/wp-content/uploads/2013/07/img1.png">
</div>
<div style="max-width: 830px; display: none; width: 830px; height: 220px; opacity: 0;" class="easingsliderlite-slide">
<img title="Слайд 2" alt="" class="easingsliderlite-image" src="http://test1.ru/site_isolation/localsite/wp-content/uploads/2013/07/img2.png">
</div>
<div style="max-width: 830px; display: block; width: 830px; height: 220px; opacity: 1;" class="easingsliderlite-slide active">
<img title="Слайд 3" alt="" class="easingsliderlite-image" src="http://test1.ru/site_isolation/localsite/wp-content/uploads/2013/07/img3.png">
</div>
<div style="max-width: 830px; display: none; width: 830px; height: 220px; opacity: 0;" class="easingsliderlite-slide">
<img title="img4" alt="" class="easingsliderlite-image" src="http://test1.ru/site_isolation/localsite/wp-content/uploads/2013/07/img4.png">
</div>
<div style="max-width: 830px; display: none; width: 830px; height: 220px; opacity: 0;" class="easingsliderlite-slide">
<img title="Слайд 5" alt="" class="easingsliderlite-image" src="http://test1.ru/site_isolation/localsite/wp-content/uploads/2013/07/img5.png">
</div>
</div>
</div>

<div class="easingsliderlite-arrows easingsliderlite-next inside has-hover"></div>
<div class="easingsliderlite-arrows easingsliderlite-prev inside has-hover"></div>


</div>

сообщение об ошибке

Line 140, Column 167: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

…-slider\images\edit_icon.png" style="box-shadow: none; border-radius: none;" />

Edited by cyklop77
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

В ошибке говорится, что тегу img нужен атрибут alt за исключением отдельных случаев. Для деталей куда-то перенаправляет. Если дадите ссылку на проблемную страницу, чтобы можно было в оригинале посмотреть на ошибку, которую он выдает - будет понятнее.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy