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:
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">×</span>
|
||||
<button type="button" class="close" aria-label="Close">×</button>
|
||||
</div>
|
||||
<div class="modal-box">
|
||||
<div class="body">
|
||||
|
||||
Reference in New Issue
Block a user