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
This commit is contained in:
parent
5b766e2082
commit
b1a3776a86
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user