Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 10, 2017
1 parent 019b4a6 commit 5362d16
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions js/accessibility/Accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ define( function( require ) {
* functions to be called when that event is fired on the dom element. No input listeners will be fired
* if this.accessibleInputEnabled is false.
* @public
*
* @param {Object} listener
*
* @param {Object} accessibleInput
* @returns {Object} - the actually added listener, so it can be removed via removeAccessibleInputListener
*/
addAccessibleInputListener: function( accessibleInput ) {
Expand Down Expand Up @@ -699,7 +699,7 @@ define( function( require ) {
* If the content includes anything other than styling tags or has malformed HTML, we will fallback
* to textContent.
*
* @param {string} label
* @param {string} textContent
*/
setAccessibleDescriptionAsHTML: function( textContent ) {
var formattingExclusive = AccessibilityUtil.usesFormattingTagsExclusive( textContent );
Expand Down Expand Up @@ -1477,7 +1477,7 @@ define( function( require ) {
* @private
*
* @param {Object} accessibleInput
* @param {AccessibleInstance} accessibleInstance
* @param {HTMLElement} domElement
*/
addDOMEventListeners: function( accessibleInput, domElement ) {
for ( var event in accessibleInput ) {
Expand All @@ -1493,6 +1493,7 @@ define( function( require ) {
* @private
*
* @param {Object} accessibleInput
* @param {HTMLElement} domElement
*/
removeDOMEventListeners: function( accessibleInput, domElement ) {
for ( var event in accessibleInput ) {
Expand Down Expand Up @@ -1632,7 +1633,7 @@ define( function( require ) {
* see setPrependLabels().
* @private
*
* @param {AccessiblePeer} contentElement
* @param {AccessiblePeer} accessiblePeer
* @param {HTMLElement} contentElement
* @param {boolean} prependLabels
*/
Expand Down

0 comments on commit 5362d16

Please sign in to comment.