Sitecore Core Development

Thursday, May 04, 2006

Image Alt Attributes

The Media Library has received a major overhaul in 5.3. The image files are now stored inside the database - and not in the /Upload folder - which allows real versioning and workflow control over media items.

As part of this and the tools for W3C compliance, we have changed howthe image Alt texts are handled. In the previous 5.x versions the Alt text was fetched from the Alt attribute on the link to the media item, so that you could have different Alt texts depending on where you used the link. If you didn't specify a text in the attribute, the Alt text was blank.

In 5.3 if the Alt attribute is blank, we use the Alt text on the Image item. This allows the user to specify a general text on the image, that can be overridden per link.

Wednesday, May 03, 2006

Html Validation

In 5.3 we have added some tools to check for compliance with the W3C standards.

The new Html editor (R.A.D. Editor from Telerik) have built-in support for this.

The Content Editor has a button for checking all Html fields in one go (in the Review tab).


and the Debugger has a button for checking the current page.

We hope that these 3 functions will help users and developers make compliant Html.