JSONFeed
JSONFeed copied to clipboard
Feed Icon Link
The current example for linking one's feed with the JSON feed icon is missing an alt text. Since there is no neighbouring text link that makes it somewhat invisible to assistive technology. An example with best practice should have an alt text, I feel.
As an aside the link could also have an link relationship of rel=alternate and a media type of application/feed+json, if that's the media type used. Autodiscovery should detect this link, shouldn't it?
A standard way of providing extended metadata info for a link would tie well into the providing of a generic links key as well, as I suggested in #44.
As you say, one may want to provide a description as well as a media-type etc. and it's also common to provide eg. a hreflang on some links when one have multiple alternatives in different languages. JSON Feed should really support all classic metadata for links – for accessibility, extensibility and internationalization reasons.
I confirm that an alt text would help. (Also, this is just providing an example and it wouldn't change the spec substantially, do you want me to do it?)
Right now, my screen readers would speak:
- The feed's url, followed by "graphic link", or vice versa (NVDA on Windows); or
- "Link, image" followed by a pause, followed by the feed's title (if there is any).
The first is way too verbose, the second way quiet.