feat: Replace anchor tags with button elements for close actions in multiple managers to improve accessibility and semantic HTML
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 5m56s

This commit is contained in:
2025-08-08 12:16:09 +07:00
parent ebfc5a9fab
commit 389725c023
6 changed files with 91 additions and 14 deletions
+2 -2
View File
@@ -232,7 +232,7 @@ function IPRangesManager() {
{error}
</div>
</div>
<a className="btn-close" onClick={() => setError('')}></a>
<button type="button" className="btn-close" onClick={() => setError('')}></button>
</div>
)}
@@ -246,7 +246,7 @@ function IPRangesManager() {
{success}
</div>
</div>
<a className="btn-close" onClick={() => setSuccess('')}></a>
<button type="button" className="btn-close" onClick={() => setSuccess('')}></button>
</div>
)}