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

dcam’s picture

Version: 7.24 » 8.1.x-dev
Related issues: +#2163209: Add alternate text to file icon

New features must be added to the current development version.

dcam’s picture

Issue tags: +Usability

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

fgjohnson’s picture

It'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