Page MenuHomePhabricator

The MathML mode does not work well when doing touch screen navigation in VoiceOver WebKit
Open, LowPublicBUG REPORT

Description

Quoting James Craig:

VoiceOver user cannot touch the screen position to speak the formula. I'm pretty sure this is because of the clipping technique, and could be resolved by using opacity on relatively positioned formula.

I tried https://gerrit.wikimedia.org/r/#/c/167019/, but it's causing js errors on IE so let's handle that after the Math 2.0 release.


Version: master
Severity: normal

Details

Reference
bz72141

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:59 AM
bzimport added a project: Math.
bzimport set Reference to bz72141.
bzimport added a subscriber: Unknown Object (MLST).

physik wrote:

I think for the 2.1 version our goal should be to have just one <math> block and some javascript to help browsers to understrand that.

From James Craig:

It might be safer to set up a new class on a new parent element as the positioning context (container of both .mwe-math-fallback-image-inline and .mwe-math-mathml-a11y), and then absolutely position the math element to the top left of the context.
.mwe-math-context {

position: relative; /* context for descendants */
display: inline-block;
margin: 0;
padding: 0;

}
.mwe-math-context > .mwe-math-mathml-a11y {

position: absolute;
top: 0; /* explicit positions within context */
left: 0;
opacity: 0;

}

So since this bug was confusely used by the MathJax team to justify their refusal to provide MathML in the DOM by default in order to help assistive technologies, I'd like to clarify the issue:

  • when the MathML is in the DOM (as currently provided by the MediaWiki MathML mode), it will be usable by any assistive technologies.
  • however when the MathML is "hidden" (as currently done in the MediaWiki MathML mode for WebKit), the accessibility features that depend on the visual rendering (e.g. touch screen navigation here) will obviously not work.

Note: future version of Gecko will work with VoiceOver and will get "visible" MathML by default, so I'm updating the title to clarify that it is only for WebKit.

fredw renamed this task from The MathML mode does not work well with VoiceOver touch screen to The MathML mode does not work well when doing touch screen navigation in VoiceOver WebKit.Jul 9 2015, 10:52 AM
Aklapper triaged this task as Low priority.Feb 4 2022, 8:07 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".
Aklapper removed a subscriber: GWicke.