Skip to content

Commit c2714ed

Browse files
committed
Add short tag name support to summary list
1 parent a239d0d commit c2714ed

23 files changed

+364
-174
lines changed

docs/components/password-input.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
| `value` | `string` | The `value` attribute for the generated `input` element. If not specified and `For` is not `null` then the value for the specified model expression will be used. |
3737

3838

39-
#### `<govuk-password-input-label>`
39+
#### `<label>` / `<govuk-password-input-label>`
4040

4141
The content is the HTML to use within the component's label.
4242

@@ -47,14 +47,14 @@ Must be inside a `<govuk-password-input>` element.
4747
| `is-page-heading` | `bool?` | Whether the label also acts as the heading for the page. |
4848

4949

50-
#### `<govuk-password-input-hint>`
50+
#### `<hint>` / `<govuk-password-input-hint>`
5151

5252
The content is the HTML to use within the component's hint.
5353

5454
Must be inside a `<govuk-password-input>` element.
5555

5656

57-
#### `<govuk-password-input-error-message>`
57+
#### `<error-message>` / `<govuk-password-input-error-message>`
5858

5959
The content is the HTML to use within the component's error message.
6060

@@ -65,14 +65,14 @@ Must be inside a `<govuk-password-input>` element.
6565
| `visually-hidden-text` | `string` | A visually hidden prefix used before the error message. The default is `"Error"`. |
6666

6767

68-
#### `<govuk-password-input-before-input>`
68+
#### `<before-input>` / `<govuk-password-input-before-input>`
6969

7070
The content is the HTML to use before the generated <input> element.
7171

7272
Must be inside a `<govuk-password-input>` element.
7373

7474

75-
#### `<govuk-password-input-after-input>`
75+
#### `<after-input>` / `<govuk-password-input-after-input>`
7676

7777
The content is the HTML to use after the generated <input> element.
7878

docs/components/service-navigation.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
| `service-url` | `string` | The homepage of your service. |
3131

3232

33-
#### `<govuk-service-navigation-start>`
33+
#### `<start>` / `<govuk-service-navigation-start>`
3434

3535
The content is the HTML at the start of the service header container.
3636

3737
Must be inside a `<govuk-service-navigation>` element.
3838

3939

40-
#### `<govuk-service-navigation-nav>`
40+
#### `<nav>` / `<govuk-service-navigation-nav>`
4141

4242
Must be inside a `<govuk-service-navigation>` element.
4343

@@ -51,18 +51,18 @@ Must be inside a `<govuk-service-navigation>` element.
5151
| `menu-button-text` | `string` | The text of the mobile navigation menu toggle. |
5252

5353

54-
#### `<govuk-service-navigation-nav-start>`
54+
#### `<start>` / `<govuk-service-navigation-nav-start>`
5555

5656
The content is the HTML before the first list item in the navigation list.
5757

58-
Must be inside a `<govuk-service-navigation-nav>` element.
58+
Must be inside a `<govuk-service-navigation-nav>` or `<nav>` element.
5959

6060

61-
#### `<govuk-service-navigation-nav-item>`
61+
#### `<item>` / `<govuk-service-navigation-nav-item>`
6262

6363
The content is the HTML to use within the generated service navigation item.
6464

65-
Must be inside a `<govuk-service-navigation-nav>` element.
65+
Must be inside a `<govuk-service-navigation-nav>` or `<nav>` element.
6666

6767
| Attribute | Type | Description |
6868
| --- | --- | --- |
@@ -71,14 +71,14 @@ Must be inside a `<govuk-service-navigation-nav>` element.
7171
| (link attributes) | | See [documentation on links](../links.md) for more information. |
7272

7373

74-
#### `<govuk-service-navigation-nav-end>`
74+
#### `<end>` / `<govuk-service-navigation-nav-end>`
7575

7676
The content is the HTML after the last list item in the navigation list.
7777

78-
Must be inside a `<govuk-service-navigation-nav>` element.
78+
Must be inside a `<govuk-service-navigation-nav>` or `<nav>` element.
7979

8080

81-
#### `<govuk-service-navigation-end>`
81+
#### `<end>` / `<govuk-service-navigation-end>`
8282

8383
The content is the HTML at the end of the service header container.
8484

0 commit comments

Comments
 (0)