mdn / mdn/content

Missing SVG attribute reference pages (broken `svgattr` links)

Open
#44,199 0 comments 0 reactions 1 assignee Claimed by @pepelsbey View on GitHub
Content:SVG document not written
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

### MDN URL

https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute

### What information was incorrect, unhelpful, or incomplete?

Multiple `{{svgattr}}` macro calls across the SVG and Web API reference link to attribute pages that don't exist, producing broken links.

Missing attribute pages:

| Attribute | Referenced from |
| --- | --- |
| `offset` | [SVGComponentTransferFunctionElement](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/api/svgcomponenttransferfunctionelement/index.md?plain=1#L31), [SVGComponentTransferFunctionElement/offset](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/api/svgcomponenttransferfunctionelement/offset/index.md?plain=1#L11), [SVGStopElement](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/api/svgstopelement/index.md?plain=1#L19), [SVGStopElement/offset](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/api/svgstopelement/offset/index.md?plain=1#L11), [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L159), [SVG/Reference/Element/stop](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/element/stop/index.md?plain=1#L17) |
| `async` | [SVGScriptElement](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/api/svgscriptelement/index.md?plain=1#L21), [SVGScriptElement/async](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/api/svgscriptelement/async/index.md?plain=1#L11) |
| `hreflang` | [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L106) |
| `ping` | [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L175) |
| `referrerPolicy` | [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L189) |
| `rel` | [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L192) |
| `xlink:actuate` | [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L273), [#L328](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L328), [requiredFeatures](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/requiredfeatures/index.md?plain=1#L226) |
| `xlink:role` | [SVG/Reference/Attribute](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L276), [#L324](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/index.md?plain=1#L324), [requiredFeatures](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/attribute/requiredfeatures/index.md?plain=1#L226) |
| `title` | [SVG/Reference/Element/style](https://github.com/mdn/content/blob/f5be60d013af8bfa3ff9db9a12c3c72fc7eb3988/files/en-us/web/svg/reference/element/style/index.md?plain=1#L26) |

### What did you expect to see?

Either:
1. New reference pages created at `/en-US/docs/Web/SVG/Reference/Attribute/{name}` for each attribute, or
2. The `{{svgattr}}` macro calls replaced with plain text / a different link target where no SVG-specific attribute page is warranted (e.g. `title` on `` may be a mistaken reference).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.