Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
On IE11, the javascript added in #3224465: Improve accessibility of help buttons https://www.drupal.org/project/webform/issues/3224465 breaks.
Steps to reproduce
On a clean install, add a new webform with a field containing a "Help text". Open the webform on IE11.
The error that we have is:
```
SCRIPT1003: expected: ':'
webform.element.help.js (32, 11)
```
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork webform-3257966
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mathilde_dumond CreditAttribution: mathilde_dumond at MD Systems GmbH commentedComment #5
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedYep, that change introduced some ES6 code. Once Drupal 10 is released with drop IE11 support. For now, I backported the code snippet to ES5 using https://babeljs.io/repl/
Comment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedSince the code change is automated, I merged the PR, Please try the patch or download the latest dev release to test.
Comment #8
mathilde_dumond CreditAttribution: mathilde_dumond at MD Systems GmbH commentedApplied the patch and it fixed the issue, thanks a lot!