+ {jumpToLatestVisible && (
+
+ )}
{activeSuggestions.length > 0 && (
{activeSuggestions.map((question) => (
diff --git a/frontend/tests/chat-navigation-a11y-contract.test.ts b/frontend/tests/chat-navigation-a11y-contract.test.ts
index 88aea49b..51a5227c 100644
--- a/frontend/tests/chat-navigation-a11y-contract.test.ts
+++ b/frontend/tests/chat-navigation-a11y-contract.test.ts
@@ -199,7 +199,7 @@ test("aria-busy marks the updating message list without swallowing the status re
});
test("the jump-to-latest control stays keyboard reachable and labelled", () => {
- const jumpControl = sourceBetween(pageSource, "{jumpToLatestVisible && (", "
\n )}");
+ const jumpControl = sourceBetween(pageSource, "{jumpToLatestVisible && (", "");
const buttonTag = sourceBetween(jumpControl, "
\n )}");
+ const jumpControl = sourceBetween(pageSource, "{jumpToLatestVisible && (", "