From 34c71bd6e4ade0a8f6e9b91606f922a0c2182fcc Mon Sep 17 00:00:00 2001 From: deyan Date: Tue, 12 Nov 2024 12:25:43 -0500 Subject: [PATCH] example of using intent to capture some CSS customization for AT --- src/intent.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/intent.html b/src/intent.html index a6690e1..887e2d1 100644 --- a/src/intent.html +++ b/src/intent.html @@ -562,6 +562,28 @@

Intent Examples

bell number of 2
+

CSS customization is generally not made available + to AT. In cases where authors have meaningful stylistic emphases, + or stylized constructs with custom names, using an intent attribute is appropriate. + A pedagogical example would be:

+
+
+<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