Skip to content
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

Do screenreaders do anything sensible with <mpadded><mphantom>...</mphantom></mpadded> #12

Open
kisonecat opened this issue May 22, 2018 · 2 comments

Comments

@kisonecat
Copy link

See https://github.com/kisonecat/screen-reader-demo which is a MathJax extension for converting \sro{words} into

<mpadded>
  <mphantom>
    <mtext>words</mtext>
  </mphantom>
</mpadded>

and I'm curious to know what happens to this sort of thing when run through a screenreader.

@kisonecat
Copy link
Author

The broader idea is that

\newcommand{\abs}[1]{\NAME{absolute value}\left|\CHILD{#1}\right|}
\newcommand{\innerproduct}[2]{\NAME{inner product}\langle\CHILD{#1}, \CHILD{#2}\rangle}

would permit TeX macros to simultaneously provide names and children. Presumably \NAME does nothing, and \CHILD emits its input, but on the Web these would provide another navigatable tree.

@pkra
Copy link
Collaborator

pkra commented Jul 24, 2018

Sorry for not seeing that back at the workshop. Speech-rule-engine will simply ignore this.

But see Speech-Rule-Engine/speech-rule-engine#157 for a relevant discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants