CollectionBuilder / collectionbuilder-csv

CollectionBuilder-CSV is a "stand alone" template for creating digital collection and exhibit websites using Jekyll and a metadata CSV.
MIT License
21 stars 16 forks source link

add "alt_text" field for use in template #50

Closed evanwill closed 1 year ago

evanwill commented 1 year ago

the template uses title or description for alt text of collection images which may or may not be appropriate for all collections. We could add "alt_text" as a technical field (like object_template, image_small, image_thumb) that suggests users fill the "alt" field with appropriate alt text for each item--either by doing full description or generating it from existing metadata fields as necessary for each type of item. This would allow the template to use alt text with more confidence, allow users to generate it using a variety of methods appropriate to the various item in their collection, and forefront the necessity of this descriptive work (which is often missing from archival metadata).

in the template it could look like alt="{{ item.alt | default: item.description | default: item.title }}"

dcnb commented 1 year ago

Good idea! After team meeting, decided to pursue after merge of new CSV compound item branch

evanwill commented 1 year ago

in "alt-text-field" branch