@pie-element/shared-math-rendering-mathjax 0.1.7 → 0.1.8-next.20261019145129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +312 -284
- package/dist/index.js +328 -300
- package/dist/math-name.d.ts +3 -2
- package/package.json +1 -1
package/dist/math-name.d.ts
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* MathML MathJax leaves in the `mjx-container`. An `aria-label` on the container, which has no
|
|
4
4
|
* role, puts that speech in the name of the control around it in Chromium, Firefox and WebKit,
|
|
5
5
|
* among the control's other text. Math outside controls stays unlabelled, so screen readers keep
|
|
6
|
-
* navigating its MathML
|
|
7
|
-
*
|
|
6
|
+
* navigating its MathML, and so does math in a control named by `aria-labelledby` from elsewhere,
|
|
7
|
+
* whose name does not include it. A container that already has a label keeps it, because the
|
|
8
|
+
* page's renderer or a host's speech engine set it.
|
|
8
9
|
*/
|
|
9
10
|
export declare function nameMathInControl(container: Element): void;
|
|
10
11
|
/** Labels each typeset expression in `root` that sits inside a control. */
|