Skip to content

Add <a> to MathML, deprecate global href - #44189

Closed
pepelsbey wants to merge 4 commits into
mdn:mainfrom
pepelsbey:mathml-a-href
Closed

pepelsbey wants to merge 4 commits into
mdn:mainfrom
pepelsbey:mathml-a-href

Conversation

@pepelsbey

Copy link
Copy Markdown
Member

Description

  • Adds <a href> to MathML
  • Deprecates global href

Motivation

To update MathML <a> and href reference according to spec and implementation.

Additional details

Related issues and pull requests

@pepelsbey
pepelsbey requested a review from a team as a code owner May 19, 2026 14:44
@pepelsbey
pepelsbey requested review from fred-wang and removed request for a team May 19, 2026 14:44
@github-actions github-actions Bot added Content:MathML MathML docs size/m [PR only] 51-500 LoC changed labels May 19, 2026
@github-actions

github-actions Bot commented May 19, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (3 pages)

External URLs (2)

URL: /en-US/docs/Web/MathML/Reference/Element/a
Title: <a>


URL: /en-US/docs/Web/MathML/Reference/Global_attributes/href
Title: href

(comment last updated: 2026-06-17 09:58:13)

@fred-wang fred-wang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looks good in general. The only thing is that I'm unsure if the specifications are up-to-date / stable enough.

Comment thread files/en-us/web/mathml/reference/element/a/index.md

## DOM interface

When implemented, this element will be exposed via the `MathMLAnchorElement` interface defined in the [MathML Core specification](https://w3c.github.io/mathml-core/#the-a-element). At the time of writing, no browser exposes this interface yet, and the element is accessed through the base {{domxref("MathMLElement")}} interface.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bkardell @lukewarlow @eerii I haven't really followed recent discussion on the IDL part, do you think it's fine documenting that now or should we wait things are a bit more stable? https://w3c.github.io/mathml-core/#the-a-element

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to drop this part while the spec stabilizes to have the rest of the docs on MDN.

Comment thread files/en-us/web/mathml/reference/element/a/index.md Outdated
@github-actions github-actions Bot added the merge conflicts 🚧 [PR only] label May 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions Bot removed the merge conflicts 🚧 [PR only] label May 23, 2026
@Josh-Cena

Copy link
Copy Markdown
Member

FYI new PR at #45576. Not sure what this PR is waiting on, but probably want to get it merged soon.

@chrisdavidmills

Copy link
Copy Markdown
Contributor

FYI new PR at #45576. Not sure what this PR is waiting on, but probably want to get it merged soon.

I've taken a few useful bits out of this PR and added them to #45576. My PR includes a more thorough version of the <a> page and full documentation of the DOM interface, so I think we can close this one

@pepelsbey
pepelsbey deleted the mathml-a-href branch September 10, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:MathML MathML docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants