Get the alt for the image on views twig I've got an image field, in which I'm showing the image using url by setting the relationship for that field on 'Advanced' tab to get the url of the field. 

I'm getting the url of the field as 

{% set image = file_url(fields.uri.content|striptags|trim) %}
    &lt;div class="mob"&gt;&lt;img src="{{ image }}" class="testimonial-mob-img" alt="" /&gt;&lt;/div&gt;


I would like to know how to get the alt of the image on views-view-fields-view-machine-name.html.twig.
A simple solution is to add image again as a field and Rewrite Results:



Now in your template:

... alt="{{ fields.field_image_1.content|striptags }}" ...