Skip to content

Commit

Permalink
Converted " the the " => " the ", see phetsims/chipper#704
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 23, 2018
1 parent 878a81a commit 82d1010
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion accessibility/accessibility-documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ <h1>Accessible Content in Scenery</h1>
<h2>The Parallel DOM</h2>

<p>
To accomplish this, we generated a parallel HTML structure that sits on top of the Scenery visual element. Any visual node in the simulation can be represented in this parallel HTML DOM. In this way, both the browser and assistive technologies have access to the the accessible representations of the elements on screen. Since the DOM is written in HTML, any user can navigate to the various elements in the browser with a keyboard or assistive technology. This could include using 'tab' or any other keys that are handled by the screen reader that moves focus to various landmarks defined in the document.
To accomplish this, we generated a parallel HTML structure that sits on top of the Scenery visual element. Any
visual node in the simulation can be represented in this parallel HTML DOM. In this way, both the browser and
assistive technologies have access to the accessible representations of the elements on screen. Since the DOM is
written in HTML, any user can navigate to the various elements in the browser with a keyboard or assistive
technology. This could include using 'tab' or any other keys that are handled by the screen reader that moves
focus to various landmarks defined in the document.
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion accessibility/accessibility-script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2015, University of Colorado Boulder

/**
* Some scripting for the the prototype parallel DOM. This mimics some dynamic content for the parallel DOM that would
* Some scripting for the prototype parallel DOM. This mimics some dynamic content for the parallel DOM that would
* occur in a simulation to test complex tab navigation and aria-live.
*
* @author Jesse Greenberg
Expand Down
2 changes: 1 addition & 1 deletion js/accessibility/Accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ define( function( require ) {
/**
* Set the inner content for the primary sibling of the AccessiblePeers of this node. Will be set as textContent
* unless content is html which uses exclusively formatting tags. A node with inner content cannot
* have accessible descendants because this content will override the the HTML of descendants of this node.
* have accessible descendants because this content will override the HTML of descendants of this node.
*
* @param {string|null} content
* @public
Expand Down
2 changes: 1 addition & 1 deletion js/accessibility/FocusHighlightFromNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ define( function( require ) {

FocusHighlightPath.call( this, null, options );

// @private - from options, will override line width calculations based on the the node's size
// @private - from options, will override line width calculations based on the node's size
this.outerLineWidth = options.outerLineWidth;
this.innerLineWidth = options.innerLineWidth;

Expand Down

0 comments on commit 82d1010

Please sign in to comment.