Make translatable ARIA-label on block twig Template

Created on 6 July 2024, 9 months ago
Updated 8 July 2024, 9 months ago

Problem/Motivation

There was an ARIA-label attribute in the Twig template that was hardcoded and not translatable. This issue has now been fixed

Steps to reproduce

  1. Check the Twig template file.
  2. Locate the ARIA-label attribute.
  3. Notice that the ARIA-label attribute is hardcoded and cannot be translated.

Proposed resolution

The issue has been fixed by updating the Twig template to ensure the ARIA-label attribute can be translated.

Remaining tasks

No remaining tasks.

User interface changes

No user interface changes.

API changes

No API changes.

Data model changes

No data model changes.

Reference:

This fix was based on a similar issue reported in another project: https://www.drupal.org/project/ept_micromodal/issues/3459494 🐛 Adding ARIA Label translatable on user interface Fixed

🐛 Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

🇧🇷Brazil renatog Campinas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024