Skip to content

Commit 95f7d67

Browse files
authored
FF150 Relnote: ariaNotify() on Element and Document (#43619)
1 parent 96de3e8 commit 95f7d67

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

files/en-us/mozilla/firefox/releases/150/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Firefox 150 is the current [Beta version of Firefox](https://www.firefox.com/en-
5555
#### DOM
5656

5757
- The non-standard {{domxref("Document/caretRangeFromPoint","caretRangeFromPoint()")}} method of the {{domxref("Document")}} interface is now supported. ([Firefox bug 1550635](https://bugzil.la/1550635)).
58+
- The `ariaNotify()` method is now supported on {{domxref("Document/ariaNotify","Document")}} and {{domxref("Element/ariaNotify","Element")}}.
59+
This queues a string of text to be announced by a {{glossary("screen reader")}}, providing a more ergonomic and reliable alternative to [ARIA live regions](/en-US/docs/Web/Accessibility/ARIA/Guides/Live_regions).
60+
([Firefox bug 2018095](https://bugzil.la/2018095)).
5861

5962
<!-- #### Media, WebRTC, and Web Audio -->
6063

files/en-us/web/api/document/arianotify/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ browser-compat: api.Document.ariaNotify
1010

1111
{{ApiRef("DOM")}}{{SeeCompatTable}}
1212

13-
The **`ariaNotify()`** method of the {{domxref("Document")}} interface specifies that a given string of text should be announced by a {{glossary("screen reader")}} if available and activated.
13+
The **`ariaNotify()`** method of the {{domxref("Document")}} interface queues a string of text to be announced by a {{glossary("screen reader")}}.
1414

1515
## Syntax
1616

@@ -26,11 +26,15 @@ ariaNotify(announcement, options)
2626
- `options` {{optional_inline}}
2727
- : An options object containing the following properties:
2828
- `priority`
29-
- : An enumerated value specifying the priority of the announcement. Possible values are:
29+
- : An enumerated value specifying the priority of the announcement.
30+
Possible values are:
3031
- `normal`
31-
- : The announcement has normal priority. It will be spoken after any announcement that a screen reader is currently making.
32+
- : The announcement has normal priority.
33+
It will be spoken after any announcement that a screen reader is currently making.
34+
This is the default value.
3235
- `high`
33-
- : The announcement has high priority. It will be spoken immediately, interrupting any announcement that a screen reader is currently making.
36+
- : The announcement has high priority.
37+
It will be spoken immediately, interrupting any announcement that a screen reader is currently making.
3438

3539
### Return value
3640

files/en-us/web/api/element/arianotify/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ browser-compat: api.Element.ariaNotify
1010

1111
{{ApiRef("DOM")}}{{SeeCompatTable}}
1212

13-
The **`ariaNotify()`** method of the {{domxref("Element")}} interface specifies that a given string of text should be announced by a {{glossary("screen reader")}} if available and activated.
13+
The **`ariaNotify()`** method of the {{domxref("Element")}} interface queues a string of text to be announced by a {{glossary("screen reader")}}.
1414

1515
## Syntax
1616

@@ -26,11 +26,15 @@ ariaNotify(announcement, options)
2626
- `options` {{optional_inline}}
2727
- : An options object containing the following properties:
2828
- `priority`
29-
- : An enumerated value specifying the priority of the announcement. Possible values are:
29+
- : An enumerated value specifying the priority of the announcement.
30+
Possible values are:
3031
- `normal`
31-
- : The announcement has normal priority. It will be spoken after any announcement that a screen reader is currently making.
32+
- : The announcement has normal priority.
33+
It will be spoken after any announcement that a screen reader is currently making.
34+
This is the default value.
3235
- `high`
33-
- : The announcement has high priority. It will be spoken immediately, interrupting any announcement that a screen reader is currently making.
36+
- : The announcement has high priority.
37+
It will be spoken immediately, interrupting any announcement that a screen reader is currently making.
3438

3539
### Return value
3640

0 commit comments

Comments
 (0)