Sha256: b8f5e2b61fc002024ec78d31471a720a503c499abace5931fa7bc630a0b5e5d1

Contents?: true

Size: 89 Bytes

Versions: 125

Compression:

Stored size: 89 Bytes

Contents

return !!(
	node.getAttribute('lang') ||
	node.getAttribute('xml:lang') ||
	''
).trim();

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
govuk_publishing_components-16.9.2 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-16.9.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-16.9.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-16.8.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-16.7.0 node_modules/axe-core/lib/checks/language/has-lang.js