Page MenuHomePhabricator

The MathML mode does not work well when doing touch screen navigation in VoiceOver+WebKit
Open, Needs TriagePublic

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).
fredw created this task.Oct 16 2014, 5:50 PM

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.

fredw added a comment.Oct 17 2014, 8:59 AM

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;

}

TheDJ set Security to None.
fredw added a comment.Jul 9 2015, 10:52 AM

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
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptNov 29 2015, 2:06 PM
Pkra moved this task from Incoming to Design on the Math board.Dec 10 2018, 8:27 PM