w3c / w3c/mathml-core

Why is the use of `<mphantom>` discouraged?

Open
#332 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
56
Forks
20
PR merge metrics
No merged PRs in 30d

Description

The entry for <mphantom> currently has this note:

<mphantom> is implemented for compatibility with full MathML. Authors whose only target is MathML Core are encouraged to use CSS for styling.

I understand the case for discouraging <mstyle> (#181) because it's literally identical to <mrow>, but this is not the case for <mphantom>. Yes, <mphantom> is equivalent to <mrow style="visibility: hidden;"> but it still seems useful for semantics and perhaps screenreaders to have a dedicated tag for this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the entry and compare its note with the rationale in issue #181. Determine whether the discouragement should be retained, revised, or clarified in light of the semantic and screen-reader concern; done means the issue has an agreed explanation or wording change.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.