Sha256: 51f69b251916204429a1486d1bd349b2535b5e71a3285f4bb0584046b0012955

Contents?: true

Size: 592 Bytes

Versions: 104

Compression:

Stored size: 592 Bytes

Contents

{
	"id": "button-name",
	"selector": "button, [role=\"button\"], input[type=\"button\"], input[type=\"submit\"], input[type=\"reset\"]",
	"tags": [
		"cat.name-role-value",
		"wcag2a",
		"wcag412",
		"section508",
		"section508.22.a"
	],
	"metadata": {
		"description": "Ensures buttons have discernible text",
		"help": "Buttons must have discernible text"
	},
	"all": [],
	"any": [
		"non-empty-if-present",
		"non-empty-value",
		"button-has-visible-text",
		"aria-label",
		"aria-labelledby",
		"role-presentation",
		"role-none",
		"non-empty-title"
	],
	"none": ["focusable-no-name"]
}

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
govuk_publishing_components-17.12.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.11.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.10.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.9.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.8.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.7.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.6.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.6.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.5.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.4.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.3.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.2.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.1.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.1.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-17.0.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-16.29.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-16.28.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-16.27.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-16.27.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-16.26.0 node_modules/axe-core/lib/rules/button-name.json