From 0fd24358cec4e4b321183bc0293505c782120a4c Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 15 Jul 2024 17:20:55 +0800 Subject: [PATCH] WebUI: check buttons to have valid text (or assistive text) It helps people using assistive technology. https://stackoverflow.com/a/22040485 --- src/webui/www/.htmlvalidate.json | 1 - src/webui/www/private/confirmdeletion.html | 3 +-- src/webui/www/private/views/rssDownloader.html | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/webui/www/.htmlvalidate.json b/src/webui/www/.htmlvalidate.json index 0d1f3c84c..fa2b5eb5b 100644 --- a/src/webui/www/.htmlvalidate.json +++ b/src/webui/www/.htmlvalidate.json @@ -6,7 +6,6 @@ "long-title": "off", "no-inline-style": "off", "prefer-button": "off", - "text-content": "off", "void-style": "off", "wcag/h63": "off", "wcag/h71": "off" diff --git a/src/webui/www/private/confirmdeletion.html b/src/webui/www/private/confirmdeletion.html index d2e1a1184..887557967 100644 --- a/src/webui/www/private/confirmdeletion.html +++ b/src/webui/www/private/confirmdeletion.html @@ -89,8 +89,7 @@

  QBT_TR(Are you sure you want to remove the selected torrents from the transfer list?)QBT_TR[CONTEXT=HttpServer]

-      +     

     diff --git a/src/webui/www/private/views/rssDownloader.html b/src/webui/www/private/views/rssDownloader.html index b1382c012..e6c152a1d 100644 --- a/src/webui/www/private/views/rssDownloader.html +++ b/src/webui/www/private/views/rssDownloader.html @@ -136,8 +136,8 @@
QBT_TR(Download Rules)QBT_TR[CONTEXT=AutomatedRssDownloader] - - + +