The HTTP Permissions-Policy header aria-notify directive controls whether the current document is allowed to use the Document.ariaNotify() and Element.ariaNotify() methods to fire screen reader announcements.
Specifically, where a defined policy blocks usage, any announcements created using ariaNotify() silently fail (they will not be sent).
Syntax
Permissions-Policy: aria-notify=<allowlist>;
<allowlist>- : A list of origins for which permission is granted to use the feature. See
Permissions-Policy> Syntax for more details.
- : A list of origins for which permission is granted to use the feature. See
Default policy
The default allowlist for aria-notify is self.
Specifications
Browser compatibility
See also
- Permissions-Policy header
- Permissions Policy
- Document.ariaNotify(), Element.ariaNotify()
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
