geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
403 stars 480 forks source link

Accessibility issue: PDF Non-Text content missing alternative text #8058

Open alexarobu opened 1 month ago

alexarobu commented 1 month ago

Describe the bug Hi,

It's been brought to our attention that the PDF version of the metadata records (the one generated from the default or full view of a record) is missing alternative text. See the screenshots attached for the issue as reported by Adobe Acrobat Pro Accessibility Checker function and PAC (https://pdfua.foundation/en/pdf-accessibility-checker-pac/).

Would you be able to help us find the cause for this and fix it? :pray: I wasn't sure where the PDF is configured so I didn't manage to get to the bottom of this to try and find a fix.

To Reproduce Steps to reproduce the behavior:

  1. Go to any metadata record page
  2. Download the record as PDF
  3. Open the PDF in Acrobat Reader Pro or PAC (https://pdfua.foundation/en/pdf-accessibility-checker-pac/)
  4. See error Alternate Text in the Accessibility Checker tab for Acrobat Reader Pro or WCAG - 1.1.1 Non-text Content section in PAC's extended report (see screenshots below)

Expected behavior It is expected that all non-decorative imagery has an appropriate equivalent alternative text or are marked as artifacts.

Screenshots alternate-text WhatsApp Image 2024-05-16 at 16 52 41

alexarobu commented 2 weeks ago

Just to add to this, it has been reported to us that, as a symptom of this issue, there is another failure that occurs regarding WCAG criteria 3.3.2 (Labels or Instructions) where the form fields for the coordinates of the bounding box are missing a text description. This issue is not currently flagged by PAC (https://pdfua.foundation/en/pdf-accessibility-checker-pac/) due to the failure of the 1.1.1 criteria.