Showing Link Target formats
This technique gives a possible implementation for the CategoryBpLinkTargetFormat using more or less any technology.
- Assuming you know what formats are supported, exclude those from the list of links that need to be marked.
- For everything not in the default (gif, jpeg, xhtml), provide a label for any links unless you know that they are supported by the user agent accessing the resource, or use a fallback mechanism
Issues Raised by this technique
The baseline includes no requirement on image format beyond gif or jpeg - so how do you handle a png in an img element - this seems a bit odd for a W3C spec ten years after the png spec was released.
Code sample 1
<html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Being Careful</title></head> <body> <p>This should be an <a href="http://example.com/AboutSVG.pdf">SVG (PDF, 3MB)</a>, but what the heck</p> <object type="image/png" data="foo.png"> <img src="foo.gif" alt="foo"> </object> </body> </html>