From e7937361f34310c25ca43e0b993910ce3cd5c027 Mon Sep 17 00:00:00 2001 From: rob Date: Wed, 31 Dec 2025 23:23:04 -0400 Subject: [PATCH] Fix additional accessibility issues on tools and search pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add submit button to search forms for keyboard accessibility - Fix category count text contrast (text-gray-400 → text-gray-600) - Add aria-label to search inputs - Add visible Search button on mobile filters 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../web/templates/pages/search.html | 1 + src/smarttools/web/templates/pages/tools.html | 20 ++++++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/smarttools/web/templates/pages/search.html b/src/smarttools/web/templates/pages/search.html index b228f44..38f8464 100644 --- a/src/smarttools/web/templates/pages/search.html +++ b/src/smarttools/web/templates/pages/search.html @@ -16,6 +16,7 @@ name="q" value="{{ query or '' }}" placeholder="Search for tools..." + aria-label="Search for tools" autofocus class="w-full pl-12 pr-4 py-4 text-lg border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> diff --git a/src/smarttools/web/templates/pages/tools.html b/src/smarttools/web/templates/pages/tools.html index 19ec912..106cfc3 100644 --- a/src/smarttools/web/templates/pages/tools.html +++ b/src/smarttools/web/templates/pages/tools.html @@ -35,9 +35,11 @@ value="{{ query or '' }}" placeholder="Search tools..." class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"> - - - + @@ -50,7 +52,7 @@ All Tools - {{ total_count }} + {{ total_count }} {% for cat in categories %} @@ -58,7 +60,7 @@ {{ cat.display_name }} - {{ cat.count }} + {{ cat.count }} {% endfor %} @@ -93,12 +95,16 @@