[Webkit-unassigned] [Bug 276553] New: AX: live region does not announce if it is outside of a dialog with aria-modal=true
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 12 14:46:32 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=276553
Bug ID: 276553
Summary: AX: live region does not announce if it is outside of
a dialog with aria-modal=true
Product: WebKit
Version: Safari Technology Preview
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dm_mazzoni at apple.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
Setting a dialog to aria-modal=true causes everything else on the page to be ignored. That means that live region events outside of the dialog get dropped, even though they might be visible.
Quick repro - if you get rid of aria-model="true" this works fine.
<div role="dialog" aria-label="My dialog" aria-modal="true" tabindex="-1" style="border: 1px solid #000; padding: 1em;">
<button id="b" autofocus>Announce</button>
</div>
<div aria-live="polite" id="live"></div>
<script>
document.getElementById('b').addEventListener('click', () => {
document.getElementById('live').innerText = 'Hello';
});
</script>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240712/5616304b/attachment.htm>
More information about the webkit-unassigned
mailing list