diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 64b577b639a1..001d7a9011c2 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,7 @@ Changelog ~~~~~~~~~~~~~~~~ * Add preview-aware and page-aware fragment caching template tags, `wagtailcache` & `wagtailpagecache` (Jake Howard) + * Always set help text element ID for form fields with help text in `field.html` template (Sage Abdullah) * Maintenance: Fix snippet search test to work on non-fallback database backends (Matt Westcott) diff --git a/docs/releases/5.2.md b/docs/releases/5.2.md index 60d692879388..ddea0b09a9f1 100644 --- a/docs/releases/5.2.md +++ b/docs/releases/5.2.md @@ -15,6 +15,7 @@ depth: 1 ### Other features * Add [`wagtailcache`](wagtailcache) and [`wagtailpagecache`](wagtailpagecache) template tags to ensure previewing Pages or Snippets will not be cached (Jake Howard) + * Always set help text element ID for form fields with help text in `field.html` template (Sage Abdullah) ### Bug fixes diff --git a/wagtail/admin/templates/wagtailadmin/shared/field.html b/wagtail/admin/templates/wagtailadmin/shared/field.html index d61b48746f7a..9b228042d8f7 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/field.html +++ b/wagtail/admin/templates/wagtailadmin/shared/field.html @@ -49,7 +49,9 @@ {% endif %} -