From 959c9f86cf77fbc73e44b1e989f7839f56e790f6 Mon Sep 17 00:00:00 2001 From: Kumi Date: Thu, 8 Aug 2024 09:23:37 +0200 Subject: [PATCH] fix: enhance button accessibility and clean up script tags Replaced button element with a hyperlink to improve accessibility, ensuring better navigation for screen readers and users. Also, formatted the inline script for clarity and consistency. These changes contribute to a more user-friendly interface and maintain clean, readable code. --- index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6f737fe..eba36d2 100644 --- a/index.php +++ b/index.php @@ -105,7 +105,7 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); foreach ($chunks as $chunk) { echo ""; foreach ($chunk as $currency) { - echo ""; + echo "{$currency}"; } echo ""; echo ""; @@ -159,7 +159,9 @@ $xmr_in_fiat = strtr($xmr_in_fiat, ",", " "); - +