Back to Content

Permissions-Policy: aria-notify directive

files/en-us/web/http/reference/headers/permissions-policy/aria-notify/index.md

latest1.0 KB
Original Source

{{SeeCompatTable}}

The HTTP {{HTTPHeader("Permissions-Policy")}} header aria-notify directive controls whether the current document is allowed to use the {{domxref("Document.ariaNotify()")}} and {{domxref("Element.ariaNotify()")}} methods to fire {{glossary("screen reader")}} announcements.

Specifically, where a defined policy blocks usage, any announcements created using ariaNotify() silently fail (they will not be sent).

Syntax

http
Permissions-Policy: aria-notify=<allowlist>;
  • <allowlist>

Default policy

The default allowlist for aria-notify is self.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{HTTPHeader("Permissions-Policy")}} header
  • Permissions Policy
  • {{domxref("Document.ariaNotify()")}}, {{domxref("Element.ariaNotify()")}}