The accessible math document.
The explorer pool.
The speech region for the explorer.
The node the explorer is assigned to.
The braille region.
The magnification region.
The internal math node.
The math item.
ProtectedanchorsThe anchors in this expression
True when explorer is attached to a node
ProtectedbackWhether the expression was focused by a back tab
The braille region.
ProtectedcellThe possible types for a "table" cell
ProtectedclickedThe clicked node from a mousedown event
ProtectedcurrentThe currently focused element.
ProtectedcurrentThe index of the current position in the array.
The accessible math document.
ProtectedeventsProtectedfocusTrue when we are refocusing on the speech node
ProtectedimgThe speech node when the top-level node has no role
The math item.
ProtectedlastThe last explored position from previously exploring this expression.
The magnification region.
ProtectedmarksThe array of saved positions.
ProtectednodeThe node the explorer is assigned to.
ProtectedpendingFirst index of cell to jump to
The explorer pool.
Node to focus on when restarted
The speech region for the explorer.
Selector string for re-focusing after re-rendering
Switches on or off the use of sound on this explorer.
ProtectedspeechThe transient speech node
ProtectedspeechSet to 'd' when depth is showing, 'x' when summary, '' when speech.
ProtectedtabsThe elements that are focusable for tab navigation
Protected StatichelpHelp for the different OS versions
ProtectedbrailleShorthand for the item's "brailleNone" indicator
The string to use for no description
ProtecteddescriptionShorthand for the item's ARIA role description
The role description
ProtectedhighlighterThe Sre highlighter associated with the walker.
ProtectednoneShorthand for the item's "none" indicator
The string to use for no description
ProtectedroleShorthand for the item's speech ARIA role
The role
ProtectedtabThe tabIndex to use when not exploring
ProtectedaddIn an array [prefix, center, postfix], the center gets a comma if there is a postfix.
The words to check
The modified array of words
ProtectedaddPrevent clicks in mjx-html nodes from propagating, so clicks in HTML input elements or other selectable nodes will stop the explorer from processing the click.
ProtectedaddMark a location so we can return to it later
ProtectedaddRemove the top-level speech node and create a temporary one for the given node.
The node to be spoken
True if the description should be added
ProtectedadjustMove all the href attributes to data-mjx-href attributes (so they won't be focusable links, as they are aria-hidden).
Set up the MathItem output to handle the speech exploration
ProtectedautoToggle auto voicing.
ProtectedcellAn HTML node for a semantic table element
The row number of the desired cell in the table
The column numnber of the desired cell in the table
The HTML element for the (i,j)-th cell of the table
ProtectedcellThe HTML node for a semantic table cell
The row and column numbers for the cell in its table (0-based)
ProtectedcellAn HTML node that is a cell of a table
The HTML node for semantic table element containing the cell
ProtectedchildThe node whose child array we want
The array of semantic IDs of its children
ProtectedclearClear all saved positions and return to the last explored position.
Handle a click event
The mouse click event
Handle a double-click event (focus full expression)
The mouse click event
Computes the nesting depth announcement for the currently focused sub expression.
Undo any changes from attachSpeech()
Speak the expanded version of a collapsed expression.
ProtectedenterProcess Enter key events
The event for the enter key
False means play the honk sound
ProtectedescapeStop exploring and focus the top element
The event for the escape key
Don't cancel the event
ProtectedEventsThe events associated with this explorer.
ProtectedfindFind the speech node that was clicked, if any
The target node that was clicked
The x-coordinate of the click
The y-coordinate of the click
The clicked node or null
ProtectedfindDetermine the node that should be made active when we start (the refocus, current, or restarted node, if any otherwise null)
The node to be made the current node
ProtectedfirstGet an element's first speech child. This is computed by going through the owns list until the first speech element is found.
The parent element to get a child from
The first speech child of the node
Set focus on the current node
ProtectedfocusFocus the container node without activating it (e.g., when Escape is pressed)
ProtectedgetThe link node whose node is desired
ProtectedgetThe node whose internal focusable elements are to be found
The list of focusable element within the given one
ProtectedgetThe semantic ID of the node we want
The HTML node with that id
ProtectedgetThe HTML node whose parent is to be found
The HTML node of the parent node
ProtectedgetGet all nodes with the same semantic id (multiple nodes if there are line breaks).
The node to check if it is split
All the nodes for the given id
ProtectedgetFind all the focusable elements in the expression (for tabbing)
ProtectedhelpDisplays the help dialog.
ProtectedhOpen the help dialog, and refocus when it closes.
True cancels the event
ProtectedhomeSelect top-level of expression
ProtectedisThe node to check for being a cell node
True if the node is a cell node
ProtectedisThe node to test for having an href
True if the node has a link, false otherwise
ProtectedisThe node to check for being a row node
True if the node is a row node
ProtectedlinkProtectedmoveMove to deeper level in the expression
True if shift is pressed
False if no node, void otherwise
ProtectedmoveMove to previous term in the expression
True if shift is pressed
False if no node, void otherwise
ProtectedmoveMove to next term in the expression
True if shift is pressed
False if no node, void otherwise
ProtectedmoveMove to a specified node, unless it is null
The node to move it
False if no node, void otherwise
ProtectedmoveMove to an adjacent table cell
Change in row number
Change in column number
False if no such cell, void otherwise
ProtectedmoveMove to higher level in expression
True if shift is pressed
False if no node, void otherwise
Cycles to next speech rule set if possible and recomputes the speech for the expression.
ProtectednextNavigate one step to the right on the same level.
The current element.
The next element.
Cycles to next speech style or preference if possible and recomputes the speech for the expression.
ProtectednodeThe node whose ID we want
The node's semantic ID
ProtectednumberGet index for cell to jump to.
The number key that was pressed
False if not in a table or no such cell to jump to.
ProtectedparentThe node whose parent ID we want
The node's parent's semantic ID
ProtectedparentA node inside a link whose top-level link node is required
The parent node with an href that contains the given node
ProtectedprevReturn to a previous location (loop through them). If no saved marks, go to the last previous position, or if not, the top level.
ProtectedprevNavigate one step to the left on the same level.
The current element.
The next element.
ProtectedremoveIf there is a speech node, remove it and put back the top-level node, if needed.
ProtectedrestartRestarts the explorer after a promise resolves (e.g., for an maction rerender)
The promise to restart after
ProtectedrestoreMove the links back to their href attributes.
ProtectedrootGet the element's semantic root node. We compute this from the root id
given in the semantic structure. The semantic structure is an sexp either
of the form 0 or (0 1 (2 ...) ...). We can safely assume that the root
node contains the speech for the entire structure.
If for some reason the semantic structure is not available, we return the first speech node found in the expression.
The semantic root or first speech node.
The semantic id of the node that is currently focused.
ProtectedsetSet the currently selected node and speak its label, if requested.
The node that should become current
True if the speech node should get a description
ProtectedspaceThe space key opens the menu, so it propagates, but we retain the current focus to refocus it when the menu closes.
Don't cancel the event
Create a new speech node and sets its needed attributes, then add it to the container and focus it. If there is and old speech node, remove it after a delay (the delay is needed for Orca on Linux).
The string to speak
The braille string
The SSML attributes to add
The description to add to the speech
ProtectedSsmlGet the SSML attribute array
The node whose SSML attributes are to be obtained
The name of the SSML attribute between pre and postfix
The prefix/speech or summary/postfix array
ProtectedstopStops the events of this explorer from bubbling.
The event to stop.
Computes the summary for this expression.
ProtectedtabTab to the next internal link or focusable HTML elelemt, if any, and stop the event from propagating, or if no more focusable elements, let it propagate so that the browser moves to the next focusable item.
The event for the enter key
False means play the honk sound
ProtectedtableA node that may be in a table cell
The HTML node for the table cell containing it, or null
ProtectedtabShift-Tab to previous focusable element (by temporarily making any focusable elements in the expression have display none, so they will be skipped by tabbing).
ProtectedtabThe node within the expression to receive the focus
ProtectedtriggerExecutiving the trigger the link action.
The node with the link.
True if link was successfully triggered.
ProtectedtriggerProgrammatically triggers a link if the focused node contains one.
The keyboard event for the last keydown event.
True if link was successfully triggered.
ProtectedtriggerProgrammatically triggers a link if the clicked mouse event contains one.
True if link was successfully triggered.
ProtectedundefinedDetermine if an event that is not otherwise mapped should be allowed to propagate.
The event to check
True if not active or the event has a modifier
StaticcreateCreator pattern for explorers.
The current document.
The explorer pool.
A region to display results.
The node on which the explorer works.
Remaining information.
An object of the particular explorer class.
Protected StatichelpCreates a customized help dialog
The title to use for the message
Additional ways to select the typeset math
Additional Braille information
The customized message
Protected StaticstopStops event bubbling.
The event that is stopped.
Template: T
The type that is consumed by the Region of this explorer.