- Issue created by @tonypaulbarker
- π¬π§United Kingdom tonypaulbarker Leeds
@thejimbirch @pameeela @the_g_bomb I would welcome your thoughts on what fields (if any) we should include on media entities.
- πΊπΈUnited States thejimbirch Cape Cod, Massachusetts
In the Drupal CMS SEO Track Plan, we linked to the Google Search Gallery from Define Best Practices Requirements for Drupal CMS recipes section.
Google defines best practices for image and (non-remote) video entities.
Required properties:
contentUrl
-and-
Either
creator
orcreditText
orcopyrightNotice
orlicense
.Recommended properties:
acquireLicensePage creator creator.name creditText copyrightNotice license
Caveats:
- The schema meta data would have to be set on any entities that use images since they are not standalone entities in Drupal.
- Google also consumes International Press Telecommunications Council (IPTC) photo metadata that is saved inside of the image. So anyone that does care about this most likely would set that.
- πΊπΈUnited States thejimbirch Cape Cod, Massachusetts
I believe we are not using local video.
- π¬π§United Kingdom the_g_bomb
I think I spotted already you are using the Decorative Image Widget, so that is good for me.
I also don't like how alt text set when the media is uploaded goes everywhere, context is everything in terms of alt text, so how can there be one size fits all alt text.
https://www.drupal.org/project/media_library_media_modify β helps to add contextual modifications which means the alt text can be changed per use.If we went down the route of components, I would have a lot of requests. for example if there is a caption, an alt text is redundant in many cases. https://webaim.org/techniques/alttext/
In terms of video most captioning etc should be done at source if we are only entertaining remote video.
- π©πͺGermany breidert
Hej Tony,
I second the idea of having an internal taxonomy to classify media. This allows editors to organize their media as they want.
Regarding copyright (for me this is the same as creator, credit etc.) I would also recommend using a taxonomy. IMO the copyright field should not be mandatory but display in the frontend if it is set.
I don't think a caption field should be part of the media entity itself. I think the caption is more of a contextual thing and should be entered when the media item is added on a page.
We use above data model and conception in most of our projects.