diff --git a/app/templates/views/templates/_template_list.html b/app/templates/views/templates/_template_list.html
index 6f161c4a7..9e013f87b 100644
--- a/app/templates/views/templates/_template_list.html
+++ b/app/templates/views/templates/_template_list.html
@@ -38,22 +38,28 @@
{% for item in template_list %}
{% set item_link_content %}
- {% if item.is_folder %}
-
- {{- format_item_name(item.name) -}}
-
- {% elif not item.ancestors %}
-
-
- {%- if current_service.api_keys -%}
- {{ item.id }}
- {%- endif -%}
- {{- format_item_name(item.name) -}}
-
-
- {% endif %}
+ {% if item.is_folder %}
+
+ {{- format_item_name(item.name) -}}
+
+ {% elif not item.ancestors %}
+
+
+ {%- if current_service.api_keys -%}
+ {{ item.id }}
+ {%- endif -%}
+ {{- format_item_name(item.name) -}}
+
+
+ {% endif %}
{% endset %}
{% set label_content %}
@@ -82,6 +88,8 @@
"id": "templates-or-folder-" ~ item.id,
"classes": "template-list-item template-list-item-with-checkbox {}".format(
"template-list-item-hidden-by-default" if item.ancestors else "template-list-item-without-ancestors"),
+ "attributes": { "role": "checkbox", "aria-describedby": item.id ~ "-item-hint" },
+
"after": item_link_content ~ item_meta
} %}
{% set _ = checkboxes_data.append(checkbox_config) %}