diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 2140495e2..b3d36d170 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -84,6 +84,10 @@ interface AnimationPlaybackEventInit extends EventInit { timelineTime?: CSSNumberish | null; } +interface AriaNotificationOptions { + priority?: AriaNotifyPriority; +} + interface AssignedNodesOptions { flatten?: boolean; } @@ -3659,6 +3663,11 @@ interface ARIAMixin { role: string | null; } +interface ARIANotifyMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/ariaNotify) */ + ariaNotify(announcement: string, options?: AriaNotificationOptions): void; +} + /** * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired. * @@ -13011,7 +13020,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document) */ -interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { +interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { /** * The **`URL`** read-only property of the Document interface returns the document location as a string. * @@ -14045,7 +14054,7 @@ interface ElementEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element) */ -interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { +interface Element extends Node, ARIAMixin, ARIANotifyMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { /** * The **`Element.attributes`** property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute. * @@ -45138,6 +45147,7 @@ type AlphaOption = "discard" | "keep"; type AnimationPlayState = "finished" | "idle" | "paused" | "running"; type AnimationReplaceState = "active" | "persisted" | "removed"; type AppendMode = "segments" | "sequence"; +type AriaNotifyPriority = "high" | "normal"; type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "closed" | "interrupted" | "running" | "suspended"; diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 45ec977fd..d281230b6 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -81,6 +81,10 @@ interface AnimationPlaybackEventInit extends EventInit { timelineTime?: CSSNumberish | null; } +interface AriaNotificationOptions { + priority?: AriaNotifyPriority; +} + interface AssignedNodesOptions { flatten?: boolean; } @@ -3656,6 +3660,11 @@ interface ARIAMixin { role: string | null; } +interface ARIANotifyMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/ariaNotify) */ + ariaNotify(announcement: string, options?: AriaNotificationOptions): void; +} + /** * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired. * @@ -13000,7 +13009,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document) */ -interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { +interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { /** * The **`URL`** read-only property of the Document interface returns the document location as a string. * @@ -14034,7 +14043,7 @@ interface ElementEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element) */ -interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { +interface Element extends Node, ARIAMixin, ARIANotifyMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { /** * The **`Element.attributes`** property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute. * @@ -45112,6 +45121,7 @@ type AlphaOption = "discard" | "keep"; type AnimationPlayState = "finished" | "idle" | "paused" | "running"; type AnimationReplaceState = "active" | "persisted" | "removed"; type AppendMode = "segments" | "sequence"; +type AriaNotifyPriority = "high" | "normal"; type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "closed" | "interrupted" | "running" | "suspended"; diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index aca3db87f..070fbcd11 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -81,6 +81,10 @@ interface AnimationPlaybackEventInit extends EventInit { timelineTime?: CSSNumberish | null; } +interface AriaNotificationOptions { + priority?: AriaNotifyPriority; +} + interface AssignedNodesOptions { flatten?: boolean; } @@ -3656,6 +3660,11 @@ interface ARIAMixin { role: string | null; } +interface ARIANotifyMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/ariaNotify) */ + ariaNotify(announcement: string, options?: AriaNotificationOptions): void; +} + /** * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired. * @@ -13008,7 +13017,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document) */ -interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { +interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { /** * The **`URL`** read-only property of the Document interface returns the document location as a string. * @@ -14042,7 +14051,7 @@ interface ElementEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element) */ -interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { +interface Element extends Node, ARIAMixin, ARIANotifyMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { /** * The **`Element.attributes`** property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute. * @@ -45135,6 +45144,7 @@ type AlphaOption = "discard" | "keep"; type AnimationPlayState = "finished" | "idle" | "paused" | "running"; type AnimationReplaceState = "active" | "persisted" | "removed"; type AppendMode = "segments" | "sequence"; +type AriaNotifyPriority = "high" | "normal"; type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "closed" | "interrupted" | "running" | "suspended"; diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index b0dba0280..fed69c444 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -81,6 +81,10 @@ interface AnimationPlaybackEventInit extends EventInit { timelineTime?: CSSNumberish | null; } +interface AriaNotificationOptions { + priority?: AriaNotifyPriority; +} + interface AssignedNodesOptions { flatten?: boolean; } @@ -3656,6 +3660,11 @@ interface ARIAMixin { role: string | null; } +interface ARIANotifyMixin { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/ariaNotify) */ + ariaNotify(announcement: string, options?: AriaNotificationOptions): void; +} + /** * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired. * @@ -13008,7 +13017,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document) */ -interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { +interface Document extends Node, ARIANotifyMixin, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { /** * The **`URL`** read-only property of the Document interface returns the document location as a string. * @@ -14042,7 +14051,7 @@ interface ElementEventMap { * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element) */ -interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { +interface Element extends Node, ARIAMixin, ARIANotifyMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable { /** * The **`Element.attributes`** property returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not an Array, so it has no Array methods and the Attr nodes' indexes may differ among browsers. To be more specific, attributes is a key/value pair of strings that represents any information regarding that attribute. * @@ -45135,6 +45144,7 @@ type AlphaOption = "discard" | "keep"; type AnimationPlayState = "finished" | "idle" | "paused" | "running"; type AnimationReplaceState = "active" | "persisted" | "removed"; type AppendMode = "segments" | "sequence"; +type AriaNotifyPriority = "high" | "normal"; type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none"; type AudioContextLatencyCategory = "balanced" | "interactive" | "playback"; type AudioContextState = "closed" | "interrupted" | "running" | "suspended"; diff --git a/inputfiles/patches/aria.kdl b/inputfiles/patches/aria.kdl deleted file mode 100644 index f087edca2..000000000 --- a/inputfiles/patches/aria.kdl +++ /dev/null @@ -1,11 +0,0 @@ -// https://w3c.github.io/aria/ - -removals { - // Gecko only as of 2026-03 - interface Document { - includes ARIANotifyMixin - } - interface Element { - includes ARIANotifyMixin - } -}