Home / File/ warnings.json — svelte Source File

warnings.json — svelte Source File

Architecture documentation for warnings.json, a json file in the svelte codebase.

Entity Profile

Source Code

[
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 13,
			"column": 0
		},
		"end": {
			"line": 13,
			"column": 27
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 15,
			"column": 0
		},
		"end": {
			"line": 15,
			"column": 47
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 18,
			"column": 0
		},
		"end": {
			"line": 18,
			"column": 35
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 20,
			"column": 0
		},
		"end": {
			"line": 20,
			"column": 29
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 22,
			"column": 0
		},
		"end": {
			"line": 22,
			"column": 35
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 24,
			"column": 0
		},
		"end": {
			"line": 24,
			"column": 33
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 26,
			"column": 0
		},
		"end": {
			"line": 26,
			"column": 33
		}
	},
	{
		"code": "a11y_click_events_have_key_events",
		"message": "Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type=\"button\">` or `<a>` might be more appropriate",
		"start": {
			"line": 28,
			"column": 0
		},
		"end": {
			"line": 28,
			"column": 33
		}
	}
]

Frequently Asked Questions

What does warnings.json do?
warnings.json is a source file in the svelte codebase, written in json.
Where is warnings.json in the architecture?
warnings.json is located at packages/svelte/tests/validator/samples/a11y-click-events-have-key-events/warnings.json (directory: packages/svelte/tests/validator/samples/a11y-click-events-have-key-events).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free