From c01b20c06a398e05adeaf8a1f241e18385ff244e Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Sun, 20 Oct 2024 14:38:02 +0100 Subject: [PATCH] popover badges no longer have `role="button"` Because they are not clickable. The popover appears on focus and hover, not click, so indicating that it is a clickable element is not good. --- apps/home/static/home/js/tables.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/home/static/home/js/tables.js b/apps/home/static/home/js/tables.js index b6bd107..087e41b 100644 --- a/apps/home/static/home/js/tables.js +++ b/apps/home/static/home/js/tables.js @@ -589,7 +589,6 @@ const renderPopoverBadgesColumn = (items, iconClass) => { $span.attr("data-bs-trigger", "hover focus"); $span.attr("data-bs-custom-class", "table-badge-popover") $span.attr("data-bs-html", "true"); - $span.attr("role", "button") let $placeholderContainer = $("
");