We have recently had an accessibility audit and were told to add filesizes to all links to files. Is it possible to automatically add filetype icons and filesizes to media links.
For example, if an editor was to create a link to a pdf icon in the rich text editor the system would add a pdf icon and the file size automatically to the end of the link
Icon and filesize on links to media items
We have recently had an accessibility audit and were told to add filesizes to all links to files. Is it possible to automatically add filetype icons and filesizes to media links.
For example, if an editor was to create a link to a pdf icon in the rich text editor the system would add a pdf icon and the file size automatically to the end of the link
Thanks
Balram
never heard that one before, indicating filtype yes, but not size!
adding a pdf icon wouldn't really help screen readers, you should probably just append the word PDF to the link title.
Hi Balram,
This is an example of how we display our links to documents
Which outputs something like below
is working on a reply...