fix(ally): button (#16588)

The close button would actually need to be a `button` instead of a `span` HTML element to be both screenreader and keyboard user accessible, as well as having an accessible label.

Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
Maximilian Franzke
2024-09-12 13:29:27 +05:30
committed by GitHub
co-authored by Anik Dhabal Babu
parent 91f5d49cd4
commit f11086e9f8
@@ -41,7 +41,7 @@ const html = `<style>
</style>
<div class="my-backdrop">
<div class="header">
<span class="close">&times;</span>
<button type="button" class="close" aria-label="Close">&times;</button>
</div>
<div class="modal-box">
<div class="body">