@@ -613,15 +613,13 @@ Notice that `columnspan` is written this way, because of backwards compatability
613
613
614
614
### Labeling and referencing equations
615
615
616
- ** Open question** : Should we have standard spacing with ` <mspace> ` ?
617
-
618
616
It is common to label equations and then reference these equations later on in mathematical text.
619
617
620
618
Example markup for a block equation with a label:
621
619
622
620
``` html
623
- <div class =" equation-wrapper" >
624
- <math display =" block" id = " eq-1-3 " >
621
+ <div role = " region " class =" equation-wrapper" tabindex = " 0 " aria-labelledby = " label-1-3 " id = " eq-1-3 " >
622
+ <math display =" block" >
625
623
<mo >(</mo >
626
624
<mi >a</mi >
627
625
<mo >∘<!-- ∘ --> </mo >
@@ -638,17 +636,23 @@ Example markup for a block equation with a label:
638
636
<mi >c</mi >
639
637
<mo >)</mo >
640
638
<mspace width =" 5em" >
641
- <mtext >(1.3)</mtext >
639
+ <mtext id = " label-1-3 " >(1.3)</mtext >
642
640
</math >
643
641
</div >
644
642
```
645
643
646
- It is required that a labeled equation has
647
- - a ` <div> ` wrapper with the class ` equation-wrapper `
648
- - the ` <math> ` has the attribute ` display="block" `
649
- - an ID based on the ` <mtext> ` label and the ID is in the ` <math> ` element
650
- - ` <mspace> ` for spacing before the label
651
- - label in ` <mtext> ` .
644
+ It is required that a labeled block equation has a ` div ` parent with the attributes
645
+ - ` class="equation-wrapper" `
646
+ - ` role="region" `
647
+ - ` tabindex="0" `
648
+ - ` aria-labelledby ` , where referenced ` id ` is the ` <mtext> ` ** label's** ` id ` .
649
+ - ` id ` that is based on the ` <mtext> ` label
650
+
651
+ These requirements also hold for the labeled block equation:
652
+ - the ` <math> ` element has the attribute ` display="block" `
653
+ - the label of the equation is in the ` <mtext> ` element and the ` <mtext> ` element has an ` id ` that is based on the ` <mtext> ` content
654
+ - ` <mspace> ` for spacing between the equationa and the label
655
+ - label is in the ` <mtext> ` .
652
656
653
657
** Note** that the element ` <mlabeledtr> ` is not allowed to use for labeling.
654
658
0 commit comments