Using attachFileToField in a Functional test doesn't allow entering the alt text for an image
Ah, it looks like this might do it:
    $page-&gt;fillField('field_image[0][alt]', 'Image alt text EN');
    $page-&gt;pressButton('Upload');
    // This reloads the page and the alt text field is now present.