W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2004

Re: WCAG 2.0 Test Suite

From: Neil Soiffer <NeilS@DesSci.com>
Date: Wed, 1 Dec 2004 12:30:54 -0800
Message-ID: <0c6b01c4d7e4$a8737230$6601a8c0@raindrops>
To: "Chris Ridpath" <chris.ridpath@utoronto.ca>, "WAI WCAG List" <w3c-wai-gl@w3.org>
Since I'm probably the most concerned about math, here's my contribution to
test 135 (at the risk of offending Rex the cat)...

Here's some MathML to make the example real:

<math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mfrac>
  <mrow>
   <mrow>
    <mo>-</mo>
    <mi>b</mi>
   </mrow>
   <mo>&pm;</mo>
   <msqrt>
    <mrow>
     <msup>
      <mi>b</mi>
      <mn>2</mn>
     </msup>
     <mo>-</mo>
     <mrow>
      <mn>4</mn>
      <mo>&it;</mo>
      <mi>a</mi>
      <mo>&it;</mo>
      <mi>c</mi>
     </mrow>
    </mrow>
   </msqrt>
  </mrow>
  <mrow>
   <mn>2</mn>
   <mo>&it;</mo>
   <mi>a</mi>
  </mrow>
 </mfrac>
</math>

To include the MathML in a document, you need to change the DTD to be
something like:

<!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">
]>

I have attached a png that correspondes to this MathML for the failure case.

Neil Soiffer                     email: neils@dessci.com
Senior Scientist                 phone: 562-433-0685
Design Science, Inc.             http://www.dessci.com
"How Science Communicates"
MathType, WebEQ, MathPlayer, Equation Editor, TeXaide



quadeqn.png
(image/png attachment: quadeqn.png)

Received on Wednesday, 1 December 2004 20:31:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:32 GMT