landmark-banner-is-top-level.json 399 Bytes
{
	"id": "landmark-banner-is-top-level",
	"selector": "header:not([role]), [role=banner]",
	"matches": "landmark-has-body-context-matches",
	"tags": ["cat.semantics", "best-practice"],
	"metadata": {
		"description": "Ensures the banner landmark is at top level",
		"help": "Banner landmark must not be contained in another landmark"
	},
	"all": [],
	"any": ["landmark-is-top-level"],
	"none": []
}