' ).html( message ).text(); /* * Safari 10+VoiceOver don't announce repeated, identical strings. We use * a `no-break space` to force them to think identical strings are different. * See ticket #36853. */ if ( previousMessage === message ) { message = message + '\u00A0'; } previousMessage = message; if ( $containerAssertive && 'assertive' === ariaLive ) { $containerAssertive.text( message ); } else if ( $containerPolite ) { $containerPolite.text( message ); } } /** * Build the live regions markup. * * @since 4.3.0 * * @param {String} ariaLive Optional. Value for the 'aria-live' attribute, default 'polite'. * * @return {Object} $container The ARIA live region jQuery object. */ function addContainer( ariaLive ) { ariaLive = ariaLive || 'polite'; var $container = $( '