You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a media image is inserted in the wysiwyg editor, it gets themed using the file-entity template.
It therefore gets an h2 tag added which is visibly hidden. I have no idea why someone thought this was a desirable thing to do, but it is an accessibility fail, and also means the image will appear in the table of contents for that page.
Fix is to copy file-entity.tpl.php into the theme - rename it as file--image.tpl.php and remove the offending h2 tag.
The text was updated successfully, but these errors were encountered:
When a media image is inserted in the wysiwyg editor, it gets themed using the file-entity template.
It therefore gets an h2 tag added which is visibly hidden. I have no idea why someone thought this was a desirable thing to do, but it is an accessibility fail, and also means the image will appear in the table of contents for that page.
Fix is to copy file-entity.tpl.php into the theme - rename it as file--image.tpl.php and remove the offending h2 tag.
The text was updated successfully, but these errors were encountered: