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-21.27.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.27.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.26.2 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.26.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.26.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.25.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.24.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.23.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.23.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.22.2 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.22.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.22.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.21.3 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.21.2 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.21.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.21.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.20.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.19.1 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.19.0 node_modules/axe-core/lib/checks/language/has-lang.js
govuk_publishing_components-21.18.0 node_modules/axe-core/lib/checks/language/has-lang.js