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 <[email protected]>
This commit is contained in:
1 parent
91f5d49cd4
commit
f11086e9f8
1 file changed
+1
-1
@@ -41,7 +41,7 @@ const html = `<style>
|
|||||||
</style>
|
</style>
|
||||||
<div class="my-backdrop">
|
<div class="my-backdrop">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<span class="close">×</span>
|
<button type="button" class="close" aria-label="Close">×</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-box">
|
<div class="modal-box">
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
|||||||
Reference in new issue
Block a user