From aadd054bc313dadf931975b02a893dc468544036 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 28 Oct 2022 21:30:08 +0200 Subject: [PATCH] remove role="button" from button HTML tags --- files/templates/comments.html | 14 ++++++------- files/templates/post_actions_mobile.html | 20 +++++++++---------- .../templates/post_admin_actions_mobile.html | 20 +++++++++---------- files/templates/search.html | 2 +- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index ed81aafa8..e1f8525b9 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -361,7 +361,7 @@ {% endif %} {% elif v %} - + {% else %} @@ -377,11 +377,11 @@
  • {% endif %} {% elif v %} - + {% else %} - + {% endif %} @@ -392,17 +392,17 @@ {% if v %} - + {% if FEATURES['AWARDS'] -%} - + {%- endif %} - + - + {% endif %} {% if c.parent_submission %} diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index cfb22f8db..011dff753 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -16,33 +16,33 @@ {%- endif %} - + - + - - + + {% if p.sub and v.mods(p.sub) %} - - + + {% endif %} {% if v.id==p.author_id %} {% if request.path.startswith('/@') %} - + {% endif %} - + {% if FEATURES['COUNTRY_CLUB'] -%} - - + + {%- endif %} {% else %} {% if not p.ghost %} diff --git a/files/templates/post_admin_actions_mobile.html b/files/templates/post_admin_actions_mobile.html index 18d9dd750..5f2865a38 100644 --- a/files/templates/post_admin_actions_mobile.html +++ b/files/templates/post_admin_actions_mobile.html @@ -14,19 +14,19 @@ {% endif %} {% if FEATURES['COUNTRY_CLUB'] -%} - - + + {%- endif %} {% if v.admin_level >= PERMS['POST_COMMENT_DISTINGUISH'] and (v.id == p.author.id or v.admin_level >= PERMS['POST_COMMENT_MODERATION']) %} - + - + {% endif %} {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} - - - - + + + + {% endif %} {% if p.oauth_app and v.admin_level >= PERMS['APPS_MODERATION'] %} @@ -36,8 +36,8 @@ {% endif %} {% if v.id != p.author_id and v.admin_level >= PERMS['USER_BAN'] %} - - + + {% endif %} diff --git a/files/templates/search.html b/files/templates/search.html index 27f0d361b..d3be5ac5a 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -38,7 +38,7 @@
    {% if not request.path.startswith('/search/users') %}