[Blindmath] Format for matrices

Richard Baldwin baldwin at dickbaldwin.com
Thu Nov 10 03:46:04 UTC 2011


Thanks for the input.

So far, mathml doesn't look very promising. I was able to get a quadratic
equation from a Wikipedia example to display nicely in Firefox, but not in
IE9. For example, the exponents weren't identified as exponents in IE9 -
just numbers.

However, when I analyzed the quadratic equation with NVDA, most of the
equation was spoken as "blank, blank, blank"

As far as a matrix goes, the best output I have seen from MathML so far is
a string of numbers with no delimiters.

What about using formatting to indicate that the data represents a matrix.
One of the respondents suggested separating the row data with vertical bars
| while putting everything on the same line. That would be easy enough to
do. How practical is that for the blind student trying to use the
information? Is there a defacto standard for such formatting short of using
MathMl, Latex, or some similar specialized math language?

All input will be appreciated.

Thanks,
Dick Baldwin

On Wed, Nov 9, 2011 at 1:40 PM, Neil Soiffer <NeilS at dessci.com> wrote:

> In IE9 and several other browsers, you can use HTML5, but using XHTML is
> safer as it works in older versions of IE and Firefox.  You can also use
> MathJax to display the MathML, which will render in ALL browsers.  Works on
> mobile devices also (ipads, android, ...).  You need to get the header
> right.  Examples below.  If you use MathJax and use IE+MathPlayer to view
> it, the math is accessible.
>
> Neil Soiffer
> Senior Scientist
> Design Science, Inc.
> www.dessci.com
> ~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, Equation Editor ~
>
>
>
>
> Here's XHTML (give it a suffix .xhtml or .xht):
>
> <?xml version="1.0"?>
> <!-- saved from url=(0014)about:internet -->
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "
> http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [<!ENTITY mathml "
> http://www.w3.org/1998/Math/MathML">]>
>
>
> <html xmlns:m="http://www.w3.org/1998/Math/MathML"xmlns="
> http://www.w3.org/1999/xhtml" lang="en">
>
> </head>
> <body>
> <p>
> <math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
>  <mrow>
>  <mrow><mo>(</mo>
>   <mrow>
>    <mtable>
>     <mtr>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>     </mtr>
>
>    </mtable>
>   </mrow>
>  <mo>)</mo></mrow>
>  </mrow>
> </math>
> </body>
>
> </html>
>
>
>
>
>
> Here's HTML5:
>
> <!DOCTYPE>
> <HTML><HEAD><TITLE>HTML5 + MathML with no explicit namespace</TITLE>
> <META content="text/html; charset=windows-1252" http-equiv="Content-Type">
> </HEAD>
> <BODY>
> <H2>HTML5 + MathML with no explicit namespace</H2>
>
> <math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
>  <mrow>
>  <mrow><mo>(</mo>
>   <mrow>
>    <mtable>
>     <mtr>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>     </mtr>
>
>    </mtable>
>   </mrow>
>  <mo>)</mo></mrow>
>  </mrow>
> </math>
> </BODY></HTML>
>
>
>
> Here's a (HTML4) page using MathJax:
>
> <!DOCTYPE html>
> <html>
> <head>
> <title>MathJax + MathML Test Page</title>
> <script type="text/javascript"
>  src="
>
> http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
> ">
> </script>
> </head>
> <body>
> <H1>HTML5 + MathML with no explicit namespace</H1>
>
> <math display='block' >
>  <mrow>
>  <mrow><mo>(</mo>
>   <mrow>
>    <mtable>
>     <mtr>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>     </mtr>
>     <mtr>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>0</mn>
>      </mtd>
>      <mtd>
>       <mn>1</mn>
>      </mtd>
>     </mtr>
>
>    </mtable>
>   </mrow>
>  <mo>)</mo></mrow>
>  </mrow>
> </math>
> </body></html>
>
>
> On Wed, Nov 9, 2011 at 10:51 AM, Ken Perry <kperry at blinksoft.com> wrote:
>
> >
> > While I agree this is the correct way to display it if the person has a
> web
> > browser that displays mathml it might be better to display it in a code
> > block or a normal table until web browsers catch up with mathml.  I tried
> > this block of code in IE 9 and it just gave a string of  numbers with
> Jaws
> > 12 and while I would love it if all browsers supported this if you're
> > trying
> > to make something accessible for the time being for a student it might be
> > better using something else.
> >
> > Just my opinion.
> >
> > Ken
> >
> > -----Original Message-----
> > From: blindmath-bounces at nfbnet.org [mailto:blindmath-bounces at nfbnet.org]
> > On
> > Behalf Of Neil Soiffer
> > Sent: Wednesday, November 09, 2011 1:39 PM
> > To: Blind Math list for those interested in mathematics
> > Subject: Re: [Blindmath] Format for matrices
> >
> > You can use MathML.  Here's a 4x4 identity matrix:
> >
> > <math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
> >  <mrow>
> >  <mrow><mo>(</mo>
> >   <mrow>
> >    <mtable>
> >     <mtr>
> >      <mtd>
> >       <mn>1</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >     </mtr>
> >     <mtr>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>1</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >     </mtr>
> >     <mtr>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>1</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >     </mtr>
> >     <mtr>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>0</mn>
> >      </mtd>
> >      <mtd>
> >       <mn>1</mn>
> >      </mtd>
> >     </mtr>
> >
> >    </mtable>
> >   </mrow>
> >  <mo>)</mo></mrow>
> >  </mrow>
> > </math>
> >
> >
> > On Wed, Nov 9, 2011 at 2:56 AM, Richard Baldwin
> > <baldwin at dickbaldwin.com>wrote:
> >
> > > Is there an accepted accessible format for representing 4x4 matrices
> > > in web pages?
> > >
> > > Thanks,
> > > Dick Baldwin
> > >
> > > --
> > > Richard G. Baldwin (Dick Baldwin)
> > > Home of Baldwin's on-line Java Tutorials http://www.DickBaldwin.com
> > >
> > > Professor of Computer Information Technology Austin Community College
> > > (512) 223-4758
> > > mailto:Baldwin at DickBaldwin.com
> > > http://www.austincc.edu/baldwin/
> > > _______________________________________________
> > > Blindmath mailing list
> > > Blindmath at nfbnet.org
> > > http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> > > To unsubscribe, change your list options or get your account info for
> > > Blindmath:
> > > http://nfbnet.org/mailman/options/blindmath_nfbnet.org/neils%40dessci.
> > > com
> > >
> > _______________________________________________
> > Blindmath mailing list
> > Blindmath at nfbnet.org
> > http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> > To unsubscribe, change your list options or get your account info for
> > Blindmath:
> >
> >
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/kperry%40blinksoft.co
> > m
> >
> >
> > _______________________________________________
> > Blindmath mailing list
> > Blindmath at nfbnet.org
> > http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> > To unsubscribe, change your list options or get your account info for
> > Blindmath:
> >
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/neils%40dessci.com
> >
> _______________________________________________
> Blindmath mailing list
> Blindmath at nfbnet.org
> http://nfbnet.org/mailman/listinfo/blindmath_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Blindmath:
>
> http://nfbnet.org/mailman/options/blindmath_nfbnet.org/baldwin%40dickbaldwin.com
>



-- 
Richard G. Baldwin (Dick Baldwin)
Home of Baldwin's on-line Java Tutorials
http://www.DickBaldwin.com

Professor of Computer Information Technology
Austin Community College
(512) 223-4758
mailto:Baldwin at DickBaldwin.com
http://www.austincc.edu/baldwin/



More information about the BlindMath mailing list