From f68b48b2046e0cb706a5beb7b85df6b1c23a58ec Mon Sep 17 00:00:00 2001 From: Jesse Date: Thu, 21 Nov 2019 15:20:41 -0500 Subject: [PATCH] documentation about adding the aria-live elements to the document, see #1 --- js/AriaHerald.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/AriaHerald.js b/js/AriaHerald.js index eea6a00..283b9e8 100644 --- a/js/AriaHerald.js +++ b/js/AriaHerald.js @@ -2,8 +2,9 @@ /** * A static object used to send aria-live updates to a screen reader. These are alerts that are independent of user - * focus. This will create, add, and reference 'aria-live' elements in the HTML document and update their content. ARIA - * attributes specify the behavior of timing for the alerts. These are the elements that are created and used: + * focus. This will create and reference 'aria-live' elements in the HTML document and update their content. You + * will need to get these elements and add them to the document through a reference to this.ariaLiveElements. + * These are the elements that are created and used: * *

*