Hi cameron,
code looks ok in theory, but in practice support by AT for
aria-labelledby/describedby on non interactive controls is patchy.
I am writing up some notes on mathml etc, will provide suggested code
example with the write up
regards
steve
On 30 May 2012 07:35, Cameron McCormack <cam@mcc.id.au> wrote:
> Steve Faulkner:
>
> There is MathSpeak http://www.gh-mathspeak.com/**examples/grammar-rules/<http://www.gh-mathspeak.com/examples/grammar-rules/>
>>
>
> Thanks, I'll take a look.
>
>
> in regards to adding ARIA to MathML, from limited testing I have
>> conducted it does not work currently.
>> I am guessing you are talking about adding it to the <math> element?
>>
>
> I'm adding it to a <div> that contains the <math> element. This is the
> markup I'm currently aiming for:
>
> <style>
> div[role="math"] > pre {
> position: absolute;
> width: 400px;
> overflow: hidden;
> left: -400px;
> }
> </style>
> <div role="math"
> aria-label="[reading of the math]"
> aria-describedby="x">
> <math ...>
> ...
> </math>
> <pre id="x">plain text, code-looking version of the math</pre>
> </div>
>
> I'll gladly take suggestions on improving this.
>
--
with regards
Steve Faulkner
Technical Director - TPG
www.paciellogroup.com | www.HTML5accessibility.com |
www.twitter.com/stevefaulkner
HTML5: Techniques for providing useful text alternatives -
dev.w3.org/html5/alt-techniques/
Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html