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-21.16.3 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.16.2 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.16.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.16.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.15.2 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.15.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.15.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.14.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.13.5 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.13.4 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.13.3 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.13.2 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.13.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.13.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.12.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.11.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.10.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.9.0 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.8.1 node_modules/axe-core/lib/rules/button-name.json
govuk_publishing_components-21.8.0 node_modules/axe-core/lib/rules/button-name.json