Skip to content
Permalink
Browse files

Docs: Update `@SInCE` tag for new JS functions and variables introduc…

…ed in [45572].

Props garrett-eclipse.
See #47145.

git-svn-id: https://develop.svn.wordpress.org/trunk@45867 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 20, 2019
1 parent 23769b6 commit 2fb748bd1c767483a0c7b698493dbaed70759173
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/js/media/views/focus-manager.js
@@ -74,7 +74,7 @@ var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.pr
* in Safari 11.1 and support is spotty in other browsers. In the future we
* should consider to remove this helper function and only use `aria-modal="true"`.
*
* @since 5.3.0
* @since 5.2.3
*
* @param {object} visibleElement The jQuery object representing the element that should not be hidden.
*
@@ -113,7 +113,7 @@ var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.pr
* Makes visible again to assistive technologies all body children
* previously hidden and stored in this.ariaHiddenElements.
*
* @since 5.3.0
* @since 5.2.3
*
* @returns {void}
*/
@@ -129,7 +129,7 @@ var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.pr
/**
* Determines if the passed element should not be hidden from assistive technologies.
*
* @since 5.3.0
* @since 5.2.3
*
* @param {object} element The DOM element that should be checked.
*
@@ -154,15 +154,15 @@ var FocusManager = wp.media.View.extend(/** @lends wp.media.view.FocusManager.pr
/**
* Whether the body children are hidden from assistive technologies.
*
* @since 5.3.0
* @since 5.2.3
*/
isBodyAriaHidden: false,

/**
* Stores an array of DOM elements that should be hidden from assistive
* technologies, for example when the media modal dialog opens.
*
* @since 5.3.0
* @since 5.2.3
*/
ariaHiddenElements: []
});

0 comments on commit 2fb748b

Please sign in to comment.
You can’t perform that action at this time.