WordPress Plugin – Responsive Grid Gallery with Custom Links
Alt and Title Tags
You have the full control over Alt and Title tags. You can:
- Use WordPress Media Library as the source of data for both tags.
- Replace Media Library values with your custom entries.
- Render Alt tag as empty.
- Don’t render Title tag.
Note: the terms “alt tag” or “title tag” are commonly used abbreviations of what actually are attributes of an img tag.
Selecting an Image
- Click button: Select Image.
- From Media Library select an image and the image size.
- Update post.
Alt Text and Title will be copied from WordPress Media Library into Alt Tag and Title Tag fields.
You don’t need to maintain the image attributes through Media Library. You can add them directly on the gallery item screen.
Replacing an Image
- Delete content of Alt Tag field.
- Delete content of Title Tag field.
- Follow all steps outlined in Selecting an Image.
Deleting field content is optional. You can replace an image and keep Alt and Title. Data is not overwritten by Media Library entries if Alt Tag and Title Tag fields have been populated.
Custom Alt and Title
Just enter your custom text and click Update.
Empty Alt Tag
- Alt attribute is always added to the image tag.
- If you want to render an empty Alt, enter NONE as a field value.
- If the field is left blank Grid Gallery will query Media Library for Alt Text.
- For best performance, always have Alt Tag field populated.
Some sites are legally required to have Alt attributes and almost any accessibility consultant will tell you that the Alt tag is required. Grid Gallery requires that every image has an Alt attribute – it must be present whether it’s empty or has text.
Empty Title Tag
- Title attribute is not added to the image tag if Alt Tag field is left blank.
- You can leave the field blank or enter NONE.
If you always want to use Media Library as the source of Alt and Title tags, enter LIB in the corresponding fields.
For performance reasons this option is not recommended.