diff --git a/src/intent.html b/src/intent.html index a6690e1..592f8b9 100644 --- a/src/intent.html +++ b/src/intent.html @@ -562,7 +562,34 @@

Intent Examples

bell number of 2
- +
+

CSS and Style

+ +

CSS customization of MathML is generally not made available to AT and is ignored + in accessible readouts. + In cases where authors have meaningful stylistic emphases, + or stylized constructs with custom names, using an intent attribute is appropriate. + For example, color-coding of subexpressions is often helpful in teaching materials:

+
+
+<mn>1</mn><mo>+</mo>
+<mrow style="padding:0.1em;background-color:lightyellow;"
+      intent="highlighted-step($step)">
+  <mfrac arg="step"><mn>6</mn><mn>2</mn></mfrac>
+</mrow>
+<mi>x</mi>
+<mo>=</mo>
+<mn>1</mn><mo>+</mo>
+<mn style="padding:0.1em;background-color:lightgreen;"
+    intent="highlighted-result(3)">3</mn>
+<mi>x</mi>
+
+
one plus highlighted step of six over two end highlighted step x + equals one plus highlighted result of three end highlighted result x +
+
+
+

Tables