From a61df019b378f7e829253f56b890345296cd842f Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 15 Jul 2024 18:20:01 +0800 Subject: [PATCH] WebUI: provide legend text It provides semantic meanings for the option group. --- src/webui/www/.htmlvalidate.json | 3 +-- src/webui/www/private/download.html | 1 + src/webui/www/private/upload.html | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webui/www/.htmlvalidate.json b/src/webui/www/.htmlvalidate.json index 5f4a07740..6d89368ee 100644 --- a/src/webui/www/.htmlvalidate.json +++ b/src/webui/www/.htmlvalidate.json @@ -5,7 +5,6 @@ "rules": { "long-title": "off", "no-inline-style": "off", - "prefer-button": "off", - "wcag/h71": "off" + "prefer-button": "off" } } diff --git a/src/webui/www/private/download.html b/src/webui/www/private/download.html index 5791c6868..3d478050c 100644 --- a/src/webui/www/private/download.html +++ b/src/webui/www/private/download.html @@ -22,6 +22,7 @@

QBT_TR(Only one link per line)QBT_TR[CONTEXT=HttpServer]

+ QBT_TR(Torrent options)QBT_TR[CONTEXT=AddNewTorrentDialog] diff --git a/src/webui/www/private/upload.html b/src/webui/www/private/upload.html index d7e10f8c2..0acb70289 100644 --- a/src/webui/www/private/upload.html +++ b/src/webui/www/private/upload.html @@ -18,6 +18,7 @@
+ QBT_TR(Torrent options)QBT_TR[CONTEXT=AddNewTorrentDialog]