/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/aria.out
37 строк
3 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
FAIL | <!-- | Test Description: | This tests looks at specific errors related to ARIA rules. | --> | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> | <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script src="https://cdn.ampproject.org/v0.js" async></script> | </head> | <body> | <!-- valid --> | <amp-img on="tap:lightbox" role="button" tabindex="1" layout="fill" src="img"></amp-img> | <!-- valid --> | <a href="#" on="tap:amp-access.login">Login</a> | <!-- valid --> | <button on="tap:amp-user-notification.dismiss">Dismiss</button> | <!-- invalid: missing role --> | <amp-img on="tap:lightbox" tabindex="1" layout="fill" src="img"></amp-img> >> ^~~~~~~~~ feature_tests/aria.html:22:2 The attribute 'role' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid: missing tabindex --> | <amp-img on="tap:lightbox" role="button" layout="fill" src="img"></amp-img> >> ^~~~~~~~~ feature_tests/aria.html:24:2 The attribute 'tabindex' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) | <!-- invalid: missing both role and tabindex --> | <amp-img on="tap:lightbox" layout="fill" src="img"></amp-img> >> ^~~~~~~~~ feature_tests/aria.html:26:2 The attribute 'role' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) >> ^~~~~~~~~ feature_tests/aria.html:26:2 The attribute 'tabindex' in tag 'amp-img' is missing or incorrect, but required by attribute 'on'. (see https://amp.dev/documentation/components/amp-img/) | </body> | </html>