From 59e120e62d70561c604b467ed704c6e4b4191554 Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 19 Oct 2026 21:02:26 +0300 Subject: [PATCH] fix(templates): the dialogs only a real host shows have accessible names An accessibility scan of the pages on a real host (the earlier scans ran on libvirt's test driver) found unnamed elements the test driver never renders: the network page's add fixed address buttons and their dialog fields, the XML box of each nwfilter's details dialog and the convert checkbox of the volume clone dialog. The buttons get a title, the labels a for= and the fields an id, the XML box an aria-label. --- .../templates/modify_ipv4_fixed_address.html | 18 +++++++++--------- .../templates/modify_ipv6_fixed_address.html | 18 +++++++++--------- nwfilters/templates/nwfilters.html | 2 +- storages/templates/storage.html | 4 ++-- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/networks/templates/modify_ipv4_fixed_address.html b/networks/templates/modify_ipv4_fixed_address.html index 4886e0bc..8a93108a 100644 --- a/networks/templates/modify_ipv4_fixed_address.html +++ b/networks/templates/modify_ipv4_fixed_address.html @@ -1,7 +1,7 @@ {% load i18n %} {% load bootstrap_icons %} {% if request.user.is_superuser %} - + @@ -16,27 +16,27 @@
{% csrf_token %} diff --git a/networks/templates/modify_ipv6_fixed_address.html b/networks/templates/modify_ipv6_fixed_address.html index 4ca340bc..d09e3f4d 100644 --- a/networks/templates/modify_ipv6_fixed_address.html +++ b/networks/templates/modify_ipv6_fixed_address.html @@ -1,7 +1,7 @@ {% load i18n %} {% load bootstrap_icons %} {% if request.user.is_superuser %} - + @@ -16,27 +16,27 @@ {% csrf_token %} diff --git a/nwfilters/templates/nwfilters.html b/nwfilters/templates/nwfilters.html index eab90b64..7f3e08a1 100644 --- a/nwfilters/templates/nwfilters.html +++ b/nwfilters/templates/nwfilters.html @@ -71,7 +71,7 @@ diff --git a/storages/templates/storage.html b/storages/templates/storage.html index f319bf2f..f07ee59d 100644 --- a/storages/templates/storage.html +++ b/storages/templates/storage.html @@ -130,9 +130,9 @@
- +
- +