Bracketed uncertainty in numbers
limefrogyank opened this issue · 1 comments
Brackets in MathML seem to default to multiplication in SRE. For an
uncertainty written in the form:
8.35(4)
MathML: <mn>8.35</mn><mo>(</mo><mn>4</mn><mo>)</mo>
This means that the last digit (5) has an uncertainty of plus or
minus 4.
i.e. 8.35 +- 0.04
While MathSpeak just literally announces the brackets after the main number,
ClearSpeak uses the word "times" which is incorrect.
One possible (perhaps naive) solution is to wrap the uncertainty section in an <mrow>
then define a class like "Bracketed-Uncertainty"
(or something similar to "MathML-Unit") that could identify the
start of the uncertainty so that it is interpreted correctly in SRE.
Ideally, this would change the operator that separates the number and
the leading bracket for the uncertainty from multiplication to something
else.
I would add a wrapper with an aria-label attribute that specifies your preferred voicing. SRE will still provide for exploring the layout, i.e., find out that this is visually represented with parentheses. For an example, see https://krautzource.github.io/mathjax-aria-label/