From be01755f44442c0fa174a2c7fe3dfd39f185920f Mon Sep 17 00:00:00 2001
From: xengineering
Date: Thu, 7 Mar 2024 19:41:20 +0100
Subject: view: Remove nested anchor and button elements
There is the need to add buttons to the recipe server which act like a
anchor tag (link). This can be achieved by nesting anchor and button
tag.
The problem is that if the user cycles through the elements of the page
with the 'tab' key such a button is handled as two overlapping elements
instead of one.
This commit solves the issue by using buttons with the attribute
`onclick="window.location.href='';`.
---
view/html/recipe-confirm-deletion.html | 2 +-
view/html/recipe-edit.html | 2 +-
view/html/recipe.html | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
(limited to 'view')
diff --git a/view/html/recipe-confirm-deletion.html b/view/html/recipe-confirm-deletion.html
index 74d6ede..7ad08a3 100644
--- a/view/html/recipe-confirm-deletion.html
+++ b/view/html/recipe-confirm-deletion.html
@@ -9,7 +9,7 @@