Closed ekrimmel closed 2 years ago
According to the documentation, ac:caption
is displayed together with the resource, while dcterms:description
is displayed instead of the resource. That would make that dcterms:description
is used for alt
attributes in img
tags and ac:caption
in figcaption
elements. I think it would be good to add this to the documentation as an 'e.g.'.
This logic for dcterms:description
makes sense to me, thanks, Niels!
Fixed and implemented in https://github.com/tdwg/rs.tdwg.org/pull/79 and https://github.com/tdwg/ac/pull/212
Some colleagues and I are wondering if there are any conventions for what term in AC might correspond to an HTML alt attribute for an image. In a sense all of the Audubon Core fields are alt text, just way more detailed. But for automating accessibility of images (e.g. on the iDigBio or the GBIF website), is there a certain term that typically gets used that way. Maybe dcterms:description or ac:caption? Are you familiar with any examples in practice that use AC to generate HTML image attributes? I'm not sure whether answering this is in scope for the AC maintenance group or not, so feel free to tell me if it's not!