Sha256: f74542fe40c8a00767aaa8d5fa6cf8d09e1787064d06838b70fcc0da369d51ff

Contents?: true

Size: 129 Bytes

Versions: 104

Compression:

Stored size: 129 Bytes

Contents

var nn = node.nodeName.toLowerCase();
return (
	node.hasAttribute('alt') && (nn === 'img' || nn === 'input' || nn === 'area')
);

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
govuk_publishing_components-20.0.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-19.0.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-18.3.1 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-18.3.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-18.2.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-18.1.2 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-18.1.1 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-18.0.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.21.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.20.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.19.1 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.19.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.18.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.17.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.16.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.15.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.14.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.13.0 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.12.2 node_modules/axe-core/lib/checks/shared/has-alt.js
govuk_publishing_components-17.12.1 node_modules/axe-core/lib/checks/shared/has-alt.js