From 3e3c2d90eed8ec21af06d2e32069546707a98654 Mon Sep 17 00:00:00 2001 From: Jaladh Singhal Date: Fri, 25 Sep 2026 16:32:42 -0700 Subject: [PATCH] IRSA-7359: Fix tab navigation skipping to MathJax labels in spectrum options --- src/firefly/js/util/LatexUtil.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/firefly/js/util/LatexUtil.jsx b/src/firefly/js/util/LatexUtil.jsx index ea002572f0..a34e7733f4 100644 --- a/src/firefly/js/util/LatexUtil.jsx +++ b/src/firefly/js/util/LatexUtil.jsx @@ -16,6 +16,11 @@ const mathJaxConfig = { scale: PLOTLY_FONT_SCALE, // will apply globally but is needed because plotly dynamically creates temporary MathJax containers and injects its nodes into the chart SVG mtextInheritFont: true, }, + options: { + // From Contextual Menu Options: https://docs.mathjax.org/en/v3.2/options/menu.html + // disable the menu, else it puts every mjx-container in the tab order (tabindex=0), hijacking keyboard navigation in forms + enableMenu: false, + }, }; export const latexRootStyles = {