We have built our site using Aurelia and are using a template to display a checkbox, as follows:
<template>
<checkbox label="I understand and accept the <a href='${termsOfServiceDocLink}' target='_blank'>Terms of Service</a> and <a href='${privacyDocLink}' target='_blank'>Privacy Policy</a>" value.bind="value"></checkbox>
</template>
<terms-of-service-checkbox value.bind="userRegistration.termsAccepted & validate"></terms-of-service-checkbox>
For some users with Internet Explorer 11 the resulting checkbox can’t be selected no matter how or where they click. We’ve been unable to replicate this in our development environment. The site has been running fine for several years without encountering this issue. Our platform is provided as a service for several corporate partners, and so far we’ve only seen this issue on one corporate network, and only for users with IE11 (Chrome works fine).
Could this be a problem with some Aurelia functionality being blocked somehow?
is the entire string here "I understand and accept the <a href='${termsOfServiceDocLink}' target='_blank'>Terms of Service</a> and <a href='${privacyDocLink}' target='_blank'>Privacy Policy</a>" intended to be the label of the checkbox? I’m guessing you are setting some innerHTML inside?
Good point. I hadn’t even registered that it was a custom element. I thought custom elements needed to have a hyphen in their name, so I’m not quite sure how this is working. Here’s the template for checkbox: