diff --git a/combined/expectations.json b/combined/expectations.json index 5f11dab..57f11f1 100644 --- a/combined/expectations.json +++ b/combined/expectations.json @@ -267,6 +267,19 @@ } ] }, + "form-unlabelled-with-explicit-role": { + "meta": { + "name": "Form with no label, but an explicit role, is recognised" + }, + "expected": [ + { + "type": "landmark", + "role": "form", + "label": "null", + "selector": "body > div" + } + ] + }, "header-containing-nav-nav-search": { "meta": { "name": "Header with nested landmarks, and others are recognised" @@ -585,6 +598,12 @@ "label": null, "selector": "#complementary", "contains": [ + { + "type": "landmark", + "role": "form", + "label": null, + "selector": "#form" + }, { "type": "landmark", "role": "search", diff --git a/combined/fixtures.html b/combined/fixtures.html index 5d8b327..25feffe 100644 --- a/combined/fixtures.html +++ b/combined/fixtures.html @@ -184,6 +184,11 @@
A form with a visible name for all folk!
+The form with no name, but an explicit role.
+The form with no name, but an explicit role.
+