Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
theme_file_icon() puts the mime type, e.g., "application/pdf" as the title attribute. I believe this is unfriendly to non-technical web visitors. A friendly term, such as "PDF" or "text" or "Word document" would be more appropriate.
Comments
Comment #1
dcam CreditAttribution: dcam commentedNew features must be added to the current development version.
Comment #2
dcam CreditAttribution: dcam commentedComment #6
fgjohnson@lojoh.ca CreditAttribution: fgjohnson@lojoh.ca commentedIt's more than unfriendly.
The Title tag and Alt tag should be null so Assistive Technologies ignore the image.
https://www.w3.org/TR/WCAG20-TECHS/H67