From 453d9e69b64e4d5d3d55abd6aaee39ef0db50141 Mon Sep 17 00:00:00 2001 From: Besser Sehen Landshut Date: Mon, 24 Aug 2026 05:32:00 +0200 Subject: [PATCH] fix(template): stop rendering the sort dropdown in its opened state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sort-btns.html carries the DOM of an opened dropdown: \`class="show"\` on the group, the toggle and the menu, \`aria-expanded="true"\`, and the inline coordinates Popper had written when that markup was captured. Without the interface — which is exactly the situation the template exists for — the menu therefore stands open on top of the page, and assistive technology is told a collapsed control is expanded. The same file also holds a captured React identifier, \`id="react-aria8245013726-:r5:"\`, referenced by an \`aria-labelledby\`. It is replaced by a stable name. Co-Authored-By: Claude Opus 5 (1M context) --- ui/template/sort-btns.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/template/sort-btns.html b/ui/template/sort-btns.html index 1db002dde..0852750db 100644 --- a/ui/template/sort-btns.html +++ b/ui/template/sort-btns.html @@ -35,19 +35,19 @@ {{translator ($.language) "ui.question.frequent" }} -