Is there any specific markup or are there best practices to adding a link to an RSS feed to a website (in regards to an <a> tag in the page body, not a <link> in the head), from either an accessibility standpoint or otherwise?

Most examples I find are an <a> tag with an href to the feed URL and no other attributes.

@wbrowar @ramsey https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel says alternate is valid for <a> tags

So, <a href="…" rel="alternate" type="application/rss+xml"> should do

HTML attribute: rel - HTML: HyperText Markup Language | MDN

The rel attribute defines the relationship between a linked resource and the current document. Valid on <link>, <a>, <area>, and <form>, the supported values depend on the element on which the attribute is found.

MDN Web Docs

@chucker @wbrowar @ramsey Yeah, the Link header, <link> and <a> in theory all support the same stuff; in practice, it’s most useful for autodiscovery, and most autodiscovery tools/libs will only use Link and <link>

No cost to adding it to the <a> though!