Request for Feature Enhancement (RFE) Summary: |
Duplicate Image component IDs decrease accessibility score |
Use-case: |
Our accessibility tool detected a WCAG AA violation, when the same image is used multiple times on the same page. When the same image is used multiple times on the same page, both instances share the same ID. That should not be like that according to WCAG and W3C. HTML IDs must be unique. There is also a support ticket for that: E-001038208. Our developers recommend this being fixed on a platform level not in custom code to ensure WCAG and W3C compliance for all customers.
|
Current/Experienced Behavior: |
When the same image is used multiple times on the same page (e.g. hero image is used also in content), both instances share the same ID. |
Improved/Expected Behavior: |
All instances of the same image have different IDs by combining the already existing image ID plus the JCR path to make it truly unique. |
Environment Details (AEM version/service pack, any other specifics if applicable): |
AEMaaCS 2023.9.13665.20230927T063259Z |
Customer-name/Organization name: |
ÖGB Verlag |
Screenshot (if applicable): |
see attachments |
Code package (if applicable): |
|