diff --git a/file_entity.install b/file_entity.install index a1f86c2..80cdc0c 100644 --- a/file_entity.install +++ b/file_entity.install @@ -572,7 +572,9 @@ function _file_entity_create_alt_title_fields() { 'bundle' => 'image', 'default_value' => NULL, 'deleted' => '0', - 'description' => '', + '#description' => t('Alternative text is used by screen readers, search + engines, and when the image cannot be loaded. By adding alt text you + improve accessibility and search engine optimization.'), 'display' => array( 'default' => array( 'label' => 'above', @@ -683,7 +685,9 @@ function _file_entity_create_alt_title_fields() { 'bundle' => 'image', 'default_value' => NULL, 'deleted' => '0', - 'description' => 'Title text attribute', + '#description' => t('Title text is used in the tool tip when a user hovers + their mouse over the image. Adding title text makes it easier to + understand the context of an image and improves usability.'), 'display' => array( 'default' => array( 'label' => 'above',