matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
171 stars 91 forks source link

`a`nchor tag `name` attribute is deprectated #1790

Open HarHarLinks opened 2 months ago

HarHarLinks commented 2 months ago

Link to problem area: https://spec.matrix.org/latest/client-server-api/#mroommessage-msgtypes

Issue anchor tag name attribute is deprectated

Expected behaviour should be replaced by the global title id attribute or removed

zecakeh commented 2 months ago

MDN actually says to replace it with id, not title.

Given that the use case for this attribute is to be able to use the anchor as a link's target, I am wondering what is its intended use case for Matrix messages in the first place, since URLs in href are not permitted to be relative.

In my opinion it should just be removed.

HarHarLinks commented 2 months ago

indeed, thanks, edited in OP