From 403217739b607ccd0ee42d9fe1c9db0c679344c0 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Wed, 11 Mar 2026 23:51:31 +0100 Subject: [PATCH] fix(accessibility): fix multiple accessibility issues Signed-off-by: Anna Larch --- .../core/static/assets/css/style.css | 26 ++++++++++-- .../core/templates/app/base.html | 11 +++-- .../core/templates/app/detail.html | 40 +++++++++---------- .../core/templates/app/list.html | 16 ++++---- nextcloudappstore/core/templates/base.html | 5 ++- nextcloudappstore/core/templates/nav.html | 6 +-- 6 files changed, 64 insertions(+), 40 deletions(-) diff --git a/nextcloudappstore/core/static/assets/css/style.css b/nextcloudappstore/core/static/assets/css/style.css index df83cb41e9f..125124cf3c1 100644 --- a/nextcloudappstore/core/static/assets/css/style.css +++ b/nextcloudappstore/core/static/assets/css/style.css @@ -3,6 +3,22 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ +.skip-to-content { + position: absolute; + top: -100%; + left: 0; + padding: 8px 16px; + background-color: var(--color-primary); + color: #fff; + font-weight: bold; + border-radius: 0 0 var(--border-radius) 0; + z-index: 9999; +} + +.skip-to-content:focus { + top: 0; +} + html, body { margin: 0; @@ -730,10 +746,12 @@ form .text-danger { } } -.app-meta h5 { +.app-meta h2 { font-weight: 700; color: #000; font-size: 16px; + margin-top: 15px; + margin-bottom: 5px; } .app-score-image { @@ -933,9 +951,9 @@ address { font-weight: 700; } -.interact-section h5, -.donate-section h5, -.support-section h5 { +.interact-section h2, +.donate-section h2, +.support-section h2 { margin-bottom: 20px; } diff --git a/nextcloudappstore/core/templates/app/base.html b/nextcloudappstore/core/templates/app/base.html index 5561391dc6f..3a6c2b5b546 100644 --- a/nextcloudappstore/core/templates/app/base.html +++ b/nextcloudappstore/core/templates/app/base.html @@ -9,15 +9,18 @@
{% if categories %} + {% endif %}
diff --git a/nextcloudappstore/core/templates/app/detail.html b/nextcloudappstore/core/templates/app/detail.html index 02e5fb6f56e..edb68e2d9d6 100644 --- a/nextcloudappstore/core/templates/app/detail.html +++ b/nextcloudappstore/core/templates/app/detail.html @@ -25,18 +25,18 @@