Automatically create alt and title attributes when dragging IContent into ContentAreas

Member since: 2007

It would be great if it would be possible to fix so that if I drag a page och media into a contentarea the links title and alt attributes would automatically be set instead of forcing the editor to edit the link and set it up (that doesn't) happen.

If this could be configured by us developers with two attributes [TitleText] [AltText] on the properties responsible to deliver the values this would be super nice. Customers get alt and title attributes which is important for validation and web content accessability and it's easy for us developers to set it up. Some sort of default behaviour like pagename/filename would be nice as well if we would forget to do it.

 

#180642 Jul 19, 2017 11:04
  • Member since: 2010

    +1

    #180644 Jul 19, 2017 11:07
  • Member since: 2009

    Ok, so essentially you would want the default partial template for pages to look for those two attributes, and render any property found as alt / title tags?

    #180665 Jul 20, 2017 12:01
  • Member since: 2007

    Yeah. But if pages are dragged into a content area the editors should be able to modify the attributes in the contentarea link and if so the modified values should be displayd. 

    #180668 Jul 20, 2017 12:03
  • Member since: 2009

    Ok, and would those modified values be written back to the properties with the alt / tittle attributes? Or are you suggesting the modified values are stored somehow next to those properties? If yes, would the modified values be "per link" or "per page" i.e. if I modified the values as I dragged the page into ContentAreaA would the modified values also show if I dragged them into ContentAreaB?

    #180669 Jul 20, 2017 12:36
  • Member since: 2007

    Regarding default values, I don't think that would actually be that great for accessibility. Since you should only have a title if the link text is not clear enough. For alt-text, you should only have one if the image has some important information in it, if it's just a decorative image then the alt text should be empty. Defaulting to just the name would then just make the acccessibility worse.

    Why not use a link list in this case instead, where you can change these values already?

    #180684 Jul 20, 2017 21:44