Accessibility/MathML: Difference between revisions

Added list of potentially interesting attributes to expose.
m (Updated Gecko MathML table-related element support.)
(Added list of potentially interesting attributes to expose.)
Line 616: Line 616:
* GetTokenValue - Sets token value string if applicable.
* GetTokenValue - Sets token value string if applicable.
* GetIsToken - Returns true if element is a token element.
* GetIsToken - Returns true if element is a token element.
Attributes of interest might include the following:
* accent - Boolean value determining if the operator is an accent over the content.
* accentunder - Boolean value determining if the operator is an accent under the content.
* actiontype - String value specifying what an maction should do.
* align - String value specifying the type of alignment to be used for an mtable, munder, mover, munderover, or mstack.  May be useful for determining logical ordering of an equation.
* bevelled - Boolean value determining rendering format of the fraction.  May be useful for word choice (e.g. "one over two" vs. "one divided by two").
* close - String value for the closing delimiter of an mfenced element.
* columnlines - String value for the type of line between table columns.  May be useful for determining table purpose.
* crossout - String value specifying the type of crossout to be used in an mscarry, changing the crossout's meaning.
* dir - String value (ltr, rtl) specifying text direction of the content.
* fence - Boolean value specifying whether an mo is a fence element.
* href - String value for hyperlinking to a URI.
* largeop - Boolean value for determining if an mo should be drawn larger.  May be useful in determining semantics.
* linethickness - String or length value determining thickness of an mfrac line.  May be useful in determining fraction's purpose (e.g. displaying binomial coefficients for a linethickness of 0).
* location - String (cardinal direction) value determining location of an mscarry relative to its anchoring element.  May be useful in determining the carry's purpose.
* longdivstyle - String value controlling the appearance of an mlongdiv.  May be useful in determining its usage.
* mathvariant - String value specifying the logical class of a token element.  May be useful in determining a token's usage.
* notation - String value specifying the style to apply to the contents of an menclose.
* open - String value for the opening delimiter of an mfenced element.
* position - Integer value for mstack and mlongdiv child elements determining horizontal positioning.
* rowlines - String value for the type of line between table rows.
* selection - Integer value for determining which child element of an maction is to be used.
* separator - Boolean value specifying whether an mo is a separator.
* separators - String value containing separator values for an mfenced element.
* shift - Integer value for mstack and mlongdiv child elements determining vertical positioning.
* stretchy - Boolean value determining if an mo stretches to its adjacent elements' size.  May be useful in determining operator usage.
MathML attributes will be added to/from this tentative list to be displayed under the accessible object attributes based on their usefulness to ATs.


==Roles==
==Roles==
29

edits