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

anchor tag name attribute is deprectated #1790

Open
HarHarLinks opened this issue Apr 16, 2024 · 2 comments
Open

anchor tag name attribute is deprectated #1790

HarHarLinks opened this issue Apr 16, 2024 · 2 comments
Labels
spec-bug Something which is in the spec, but is wrong

Comments

@HarHarLinks
Copy link
Contributor

HarHarLinks commented Apr 16, 2024

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

@HarHarLinks HarHarLinks added the spec-bug Something which is in the spec, but is wrong label Apr 16, 2024
@zecakeh
Copy link
Contributor

zecakeh commented Apr 25, 2024

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
Copy link
Contributor Author

indeed, thanks, edited in OP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec-bug Something which is in the spec, but is wrong
Projects
None yet
Development

No branches or pull requests

2 participants