diff --git a/src/components/KCodeBlock/KCodeBlock.vue b/src/components/KCodeBlock/KCodeBlock.vue
index 788e6e0c31..554b727ddd 100644
--- a/src/components/KCodeBlock/KCodeBlock.vue
+++ b/src/components/KCodeBlock/KCodeBlock.vue
@@ -30,10 +30,11 @@
aria-label="Clear query"
class="clear-query-button"
data-testid="clear-query-button"
+ title="Clear query"
type="button"
@click="clearQuery"
>
-
+