diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eb55a740..bf4c65234 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # NHS.UK frontend Changelog +## Unreleased + +:wrench: **Fixes** + +- Reduce input and textarea error border widths to eliminate text movement / dimension changes when focusing and unfocusing a field with an error ([Issue 825](https://github.com/nhsuk/nhsuk-frontend/issues/825)), ([PR 826](https://github.com/nhsuk/nhsuk-frontend/pull/826)). + ## 6.1.1 - 13 June 2022 :wrench: **Fixes** diff --git a/package.json b/package.json index 4f1b4565d..f2a4091e6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "backstop:ci": "start-server-and-test start http://0.0.0.0:3000 backstop:citest", "backstop:citest": "backstop --config=./tests/backstop/backstop.js test --docker", "backstop:approve": "backstop --config=./tests/backstop/backstop.js approve", - "backstop:clean": "rm -rf tests/backstop/bitmaps_test/*", + "backstop:clean": "rm -rf tests/backstop/bitmaps_test/* && rm -rf tests/backstop/html_report", "build-gh-pages": "gulp bundle && BASE_URL='/nhsuk-frontend/' gulp docs:build", "build-gh-release": "gulp zip", "jest:dev": "jest --watch", diff --git a/packages/core/settings/_globals.scss b/packages/core/settings/_globals.scss index 54ba31a9b..ae61a8387 100644 --- a/packages/core/settings/_globals.scss +++ b/packages/core/settings/_globals.scss @@ -78,7 +78,7 @@ $nhsuk-header-spacing: 20px; // $nhsuk-border-width-form-element: 2px !default; -$nhsuk-border-width-form-element-error: 4px !default; +$nhsuk-border-width-form-element-error: 2px !default; $nhsuk-focus-width: 4px !default; $nhsuk-border-width: 4px !default; $nhsuk-border-width-mobile: 4px !default; diff --git a/tests/backstop/backstop.js b/tests/backstop/backstop.js index 1ec0870d5..c21865e49 100644 --- a/tests/backstop/backstop.js +++ b/tests/backstop/backstop.js @@ -125,6 +125,11 @@ module.exports = { label: 'Checkboxes with error message', url: `${TEST_URL}/checkboxes/error.html`, }, + { + label: 'Checkboxes with error message - focused', + url: `${TEST_URL}/checkboxes/error.html`, + clickSelector: '#waste-1', + }, { label: 'Checkboxes with conditional content', url: `${TEST_URL}/checkboxes/conditional.html`, @@ -312,6 +317,11 @@ module.exports = { label: 'Input with error message', url: `${TEST_URL}/input/error.html`, }, + { + label: 'Input with error message - focused', + url: `${TEST_URL}/input/error.html`, + clickSelector: '#input-with-error-message', + }, { label: 'Input with width modifier', url: `${TEST_URL}/input/custom-width.html`, @@ -364,6 +374,11 @@ module.exports = { label: 'Radios with hint text and error message', url: `${TEST_URL}/radios/hint-error.html`, }, + { + label: 'Radios with hint text and error message - focused', + url: `${TEST_URL}/radios/hint-error.html`, + clickSelector: '#example-2', + }, { label: 'Radios with conditional content', url: `${TEST_URL}/radios/conditional.html`, @@ -377,6 +392,11 @@ module.exports = { label: 'Select with hint text and error message', url: `${TEST_URL}/select/hint-error.html`, }, + { + label: 'Select with hint text and error message - focused', + url: `${TEST_URL}/select/hint-error.html`, + clickSelector: '[for=select-2]', + }, { label: 'Summary list', url: `${TEST_URL}/summary-list/index.html`, @@ -413,6 +433,11 @@ module.exports = { label: 'Textarea with error message', url: `${TEST_URL}/textarea/error.html`, }, + { + label: 'Textarea with error message - focused', + url: `${TEST_URL}/textarea/error.html`, + clickSelector: '#no-ni-reason', + }, { label: 'Warning callout', url: `${TEST_URL}/warning-callout/index.html`, diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_0_iPhone_5_SE.png new file mode 100644 index 000000000..19abfbdbf Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_1_iPhone_6-8.png new file mode 100644 index 000000000..ec3c6152d Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_2_iPad.png new file mode 100644 index 000000000..8473dc513 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png new file mode 100644 index 000000000..f9167c20c Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Checkboxes_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_0_iPhone_5_SE.png index ae53f8e19..9cd30bde6 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_0_iPhone_5_SE.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_1_iPhone_6-8.png index e595143e1..7839dabb0 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_1_iPhone_6-8.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_2_iPad.png index 9a70f0bcc..ffea75ab5 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_2_iPad.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_3_Surface_iPad_Pro.png index 5974317ae..3fd1d4f4d 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_3_Surface_iPad_Pro.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Date_input_with_multiple_errors_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_0_iPhone_5_SE.png index 42d17d57b..5f80ecf65 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_0_iPhone_5_SE.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_1_iPhone_6-8.png index e10079274..31843ad74 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_1_iPhone_6-8.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_2_iPad.png index 0eeabee8c..971de1221 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_2_iPad.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_3_Surface_iPad_Pro.png index ccb2388b9..baa737937 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_3_Surface_iPad_Pro.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Error_summary_with_link_to_an_input_field_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_0_iPhone_5_SE.png new file mode 100644 index 000000000..72ee2deea Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_1_iPhone_6-8.png new file mode 100644 index 000000000..4fbde25f8 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_2_iPad.png new file mode 100644 index 000000000..fbc089b10 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png new file mode 100644 index 000000000..0e74494b7 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_0_iPhone_5_SE.png index 16e4ff189..08052deb2 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_0_iPhone_5_SE.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_1_iPhone_6-8.png index 273a6eac5..98fe6bd68 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_1_iPhone_6-8.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_2_iPad.png index b98698b31..4b9320c24 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_2_iPad.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_3_Surface_iPad_Pro.png index 7cb00d23d..7faaa1beb 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_3_Surface_iPad_Pro.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Input_with_error_message_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_0_iPhone_5_SE.png new file mode 100644 index 000000000..ee165a0d6 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_1_iPhone_6-8.png new file mode 100644 index 000000000..5a5d62498 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_2_iPad.png new file mode 100644 index 000000000..b502ef7a4 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_3_Surface_iPad_Pro.png new file mode 100644 index 000000000..50580c388 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Radios_with_hint_text_and_error_message_-_focused_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_0_iPhone_5_SE.png new file mode 100644 index 000000000..5de2c3c24 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_1_iPhone_6-8.png new file mode 100644 index 000000000..310da6042 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_2_iPad.png new file mode 100644 index 000000000..234dde8cd Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_3_Surface_iPad_Pro.png new file mode 100644 index 000000000..a5c2eddba Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_-_focused_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_0_iPhone_5_SE.png index 03308b284..94b7f407e 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_0_iPhone_5_SE.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_1_iPhone_6-8.png index bd936c57a..77afa40b9 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_1_iPhone_6-8.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_2_iPad.png index f066eeb11..e36213ad0 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_2_iPad.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_3_Surface_iPad_Pro.png index f429328ee..f0b0f9ddf 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_3_Surface_iPad_Pro.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Select_with_hint_text_and_error_message_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_0_iPhone_5_SE.png new file mode 100644 index 000000000..89d5e0007 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_1_iPhone_6-8.png new file mode 100644 index 000000000..58ee656b5 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_2_iPad.png new file mode 100644 index 000000000..fcbb00740 Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png new file mode 100644 index 000000000..0d445475a Binary files /dev/null and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_-_focused_0_document_3_Surface_iPad_Pro.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_0_iPhone_5_SE.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_0_iPhone_5_SE.png index b67083211..a00d675d6 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_0_iPhone_5_SE.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_0_iPhone_5_SE.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_1_iPhone_6-8.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_1_iPhone_6-8.png index 18f1666bc..f812bda99 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_1_iPhone_6-8.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_1_iPhone_6-8.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_2_iPad.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_2_iPad.png index 614fa2f9b..7369bff0e 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_2_iPad.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_2_iPad.png differ diff --git a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_3_Surface_iPad_Pro.png b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_3_Surface_iPad_Pro.png index 901d6ebec..7739e8882 100644 Binary files a/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_3_Surface_iPad_Pro.png and b/tests/backstop/bitmaps_reference/nhsuk-frontend_Textarea_with_error_message_0_document_3_Surface_iPad_Pro.png differ