You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding ariaNotify to Elements was driven by several goals:
495
+
Adding `ariaNotify` to Elements was driven by several goals:
496
496
- Resolve the question of how language input should be provided. To keep the API simple, we are able to leverage the
497
-
lang attribute that is used to override the document language for specific subtrees. ariaNotify can use the nearest
497
+
lang attribute that is used to override the document language for specific subtrees. `ariaNotify` can use the nearest
498
498
ancestor element's lang attribute as a language hint (or the document's default language).
499
499
- Screen readers can filter/prioritize notifications based on the element associated with the notification queue. E.g.,
500
500
the element's current visibility in the User Agent, the element's proximity to the focused element. (Same potential
@@ -504,15 +504,15 @@ Adding ariaNotify to Elements was driven by several goals:
504
504
505
505
Screen reader users can customize the verbosity of the information (and context) that is read to them via settings.
506
506
Screen reader vendors can also adapt the screen reader on a per site or per app basis for the best experience of their
507
-
users. ariaNotify offers notificationID as a mechanism to allow screen reader vendors or users to customize not only the
508
-
general use of ariaNotify on websites, but also individual notifications by notificationID (or specific notification
507
+
users. `ariaNotify` offers `notificationId` as a mechanism to allow screen reader vendors or users to customize not only the
508
+
general use of `ariaNotify` on websites, but also individual notifications by `notificationId` (or specific notification
509
509
string instances in the limit).
510
510
511
511
**Tooling help**
512
512
513
513
It's very difficult today to test that ARIA live regions are working and how they are working. Tooling, [such as the
514
514
work proposed here](https://docs.google.com/document/d/1ZRBC4VJwsb-dlLmcZJgYlz1qn7MmDwNKkyfbd8nbLEA/edit), should be
515
-
available for content authors to validate the behavior of both ARIA live regions and ariaNotify.
515
+
available for content authors to validate the behavior of both ARIA live regions and `ariaNotify`.
516
516
517
517
## Alternate Solutions
518
518
The design of this API is loosely inspired by the [UIA Notification API](https://docs.microsoft.com/en-us/windows/win32/api/uiautomationcoreapi/nf-uiautomationcoreapi-uiaraisenotificationevent).
@@ -535,7 +535,7 @@ available for content authors to validate the behavior of both ARIA live regions
535
535
browser's trusted UI.
536
536
- Mitigations should be applied to suppress notifications when focus moves outside of the web content.
537
537
- Additional mitigations to block certain trusted phrases related to the browser's trusted UI could be considered.
538
-
- Implementations may choose to audibly differentiate notification phrases coming from ariaNotify in order to make it
538
+
- Implementations may choose to audibly differentiate notification phrases coming from `ariaNotify` in order to make it
539
539
clear that they are content author controlled.
540
540
4.**Secure Context.** Does it make sense to offer this feature only to Secure Contexts? Should usage of this API be
541
541
automatically granted to 3rd party browsing contexts? Currently thinking "no" in order to have maximum possibility of
@@ -544,4 +544,5 @@ available for content authors to validate the behavior of both ARIA live regions
544
544
5.**Data Limits** (See [Security and Privacy Questionnaire
545
545
#2.7](https://www.w3.org/TR/security-privacy-questionnaire/#send-to-platform)) Should there be a practical limit on the
546
546
amount of text that can be sent in one parameter to the API? Just like multiple-call DoS attacks, one call with an
547
-
enormous amount of text could tie up an AT or cause a hang as data is marshalled across boundaries.
547
+
enormous amount of text could tie up an AT or cause a hang as data is marshalled across boundaries.
0 commit comments