Layer Attributes – Custom Classes & Alt Text

Layer attributes can help with adding advanced Custom CSS for a specific Layer, and are also useful for enhancing accessibility.  For example, a custom class could be added to a Layer, and then some CSS could be applied to the Layer (added here).

Example applying a CSS3 text-shadow to a Layer with a custom class name assigned:

1-2. ID and Class: Useful for applying custom styles to any HTML you’ve included with the Layer’s content:

3-4. Wrapper ID and Wrapper Class: Useful for applying custom CSS to the Layer’s outer wrapper container:

5-7: Rel, Title & Tab Index:  Useful for enhancing accessibility.

8-9: Image Alt Text: Add “Alt” text for Layer Images for maximum SEO.

From Media Library: Alt text will be taken from “WP Main Menu -> Media -> Library -> Select Image -> Alt Text”.

From Filename: Image’s filename will be used for the Alt text.

Custom: Enter a custom value for the Alt text.