From b1a3776a86730e0bee34bdaad416052857fd8b0d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 13 Jul 2015 17:57:01 +0000 Subject: [PATCH] Minor documentation fixes for the `wp.a11y.speak()` and `addContainer()` DocBlocks. See [33000]. See #32891. git-svn-id: https://develop.svn.wordpress.org/trunk@33201 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/wp-a11y.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/js/wp-a11y.js b/src/wp-includes/js/wp-a11y.js index 07723b8573..14f419a06b 100644 --- a/src/wp-includes/js/wp-a11y.js +++ b/src/wp-includes/js/wp-a11y.js @@ -15,7 +15,7 @@ window.wp = window.wp || {}; * * @param {String} message The message to be announced by Assistive Technologies. * @param {String} ariaLive Optional. The politeness level for aria-live. Possible values: - * polite or assertive. Default polite. + * polite or assertive. Default polite. */ function speak( message, ariaLive ) { // Clear previous messages to allow repeated strings being read out. @@ -33,8 +33,7 @@ window.wp = window.wp || {}; * * @since 4.3.0 * - * @param {String} id The id attribute for the live region. - * @param {String} ariaLive Optional Value for the 'aria-live' attribute, default 'polite'. + * @param {String} ariaLive Optional. Value for the 'aria-live' attribute, default 'polite'. * * @return {Object} $container The ARIA live region jQuery object. */