SUMMARY Images need to include alt texts to make them accessible for blind people. Screen readers can then read the alt texts to users. Additionally, for sighted readers, the alt text can be shown when hovering over an image. STEPS TO REPRODUCE 1. create a PDF document with an image, e.g. using LibreOffice, add alt text to that image and export it as a PDF 2. open the document in Okular 3. note how there is no alt text anymore, neither read out by a screen reader nor visible on hovering OBSERVED RESULT no alt text EXPECTED RESULT an accessible document
Don't make us work for no reason. Attach such a PDF.
Created attachment 187321 [details] a PDF file with an image with alt text
Thank you. Poppler parses it into a StructElement in getAltText - the alt text is exposed in the glib bindings, but no one actually uses it. It is not exposed in the Qt bindings. So first I guess poppler need to expose it in some way, then Okular needs to read it.