mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 19:43:47 +00:00
frontend: Change inaccurate aria-hidden assignments on buttons.
This either removes aria-hidden=true assignments from buttons with text, or adds a span to only hide the 'x' symbol rather than the button for closing buttons.
This commit is contained in:
committed by
Tim Abbott
parent
1e7665effe
commit
c9bc803118
@@ -119,7 +119,7 @@ $(function () {
|
||||
|
||||
// if the target is not the .overlay element, search up the node tree
|
||||
// until it is found.
|
||||
if ($target.is(".exit, .exit-sign, .overlay-content")) {
|
||||
if ($target.is(".exit, .exit-sign, .overlay-content, .exit span")) {
|
||||
$target = $target.closest("[data-overlay]");
|
||||
} else if (!$target.is(".overlay")) {
|
||||
// not a valid click target then.
|
||||
|
||||
Reference in New Issue
Block a user