-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency with Firefox and localhost on MathJax snippets, and possible Accessibility issue. #3281
Comments
The div elements that you point to are part of the assistive tools and are triggered by activating the expression explorer. Since the configuration you give doesn't enable them by default, it is likely that you turned them on when looking at the local version (or some other local page earlier on), and since the setting persists for the domain when you change it, that means all local files will have it turned on by default. But the web page doesn't have it turned on until you do so explicitly (then it will be on for that domain until you turn it off again). That is why you are having different experiences between the web page and your local page. That also explains why Chrome and Safari show the same as the on-line version, as you either never turned on the assistive tools in them, or they don't save those settings for So this is "expected behavior" in this case. The error message
is because the Note that you don't need to load As for |
See also the discussion in the MathJax Users Forum on |
Hi Davide, BTW, thanks for the quick reply, which is precisely along the lines of what I would expect. Thanks also for the Forum link, where Michael Boudreau asks whether the issue has come up for anyone else. You can now reply in the affirmative. :-) Using Firefox's Accessibility panel view, I now see that there is quite a difference to the way the math snippets are presented there, with and without In particular, with the alternative text of This has MathML Can you comment on the request for interactive semantics? Overall, my aim is to improve the Accessibility of Tagged PDF documents created with LaTeX, by implementing ARIA recommendations via attributes, as much as is possible within that setting. Testing the effectiveness of this requires deriving to HTML, then testing that the ARIA attributes have been correctly passed along, and serve their intended purpose. If the And did I see somewhere that there could be a way to use MathJax directly with a (tagged) PDF? All the best. |
OK, I found how to use the v4 beta:
Now Siteimprove is happy, but there are mixed results with the AInspector plug-in, according to which MathJax features are enabled. It reports violations as follows. Violation: Remove the unsupported Fixed by switching off Braille generation. Violation: Remove the unsupported Would not this be fixed if One other way to apparently fix this is to switch off semantic enrichment. But this reduces the mathematical content to a collection of individual letters and digits — not really desirable (see image below). This next image shows with AInspector is now happy, but
|
Sorry for the long delay in getting back to you. I've been looking into the issues you raised, and found some additional problems while working with VoiceOver. So we are looking into some fixes, but don't have a final solution yet. We are looking at role="math", but there are other problems to be resolved as well.
One other way to apparently fix this is to switch off semantic enrichment.
This will disable the assistive tools completely, so I don't think you want to do that.
I'll get back to you when we have something more concrete to offer.
Davide
|
Hi Davide. The I certainly do not want to switch off semantic enrichment. The only point in doing that was to see if this had any effect on validation. But it has many other undesirable aspects. Hope to hear from you again. Cheers. |
Replace the text below with the details of the issue you are facing.
DO NOT simply erase the form and type a free-form response.
Issue Summary
I'm getting different results from the same HTML document, concerning the 2 MathJax snippets,
when loading the file in Firefox:
http://localhost/DEIMS/DEIMS2024-paper-pdf20-6Sep-pretty-DPUB.html
http://science.mq.edu.au/~ross/TaggedPDF/DEIMS2024/DEIMS2024-paper-pdf20-6Sep-pretty-DPUB.html
Using localhost, there are extra
<div>
sections at the end of the HTML<body>
,as seen in the following image, using the Developer Tools view:
Also, when running Accessibility-checker plug-ins, there are some warnings produced, concerning these active
<div>
s, with ARIA attributes. (see below)Across the web:
There are no issues with the visual display, nor with activating pop-up menus over the MathJax snippets.
Using alternative browsers, Safari and Chrome, the views produced seem to be identical to the online one from Firefox; that is, no issues are evident using those browsers.
Possible Accessibility issue: should there be
aria-atomic="true"
?The Siteimprove Accessibility checker seems to think that with
assertive
it is better to also setaria-atomic
.While perhaps not a bug, it would be reasonable to do so.
Also, the AInspector accessibility plug-in also has some Manual Check items related to these
assertive
divs.Is this really an issue?
Steps to Reproduce:
Any other information you want to share that is relevant to the issue
being reported. Especially, why do you consider this to be a bug? What
do you expect to happen instead?
Technical details:
I am using the following MathJax configuration:
and loading MathJax via
Supporting information:
Please supply a link to a (live) minimal example page, when possible.
Given above.
Download it, and then view locally, using
localhost
.If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.
Screen shots given above.
Check your browser console window for any error messages, and include them here.
The text was updated successfully, but these errors were encountered: