Add some alt texts
This commit is contained in:
		
							parent
							
								
									cb80c1367e
								
							
						
					
					
						commit
						2340b50f51
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
                            {% set class_active = ' active' %}
 | 
					                            {% set class_active = ' active' %}
 | 
				
			||||||
                        {% endif %}
 | 
					                        {% endif %}
 | 
				
			||||||
                        <div class="carousel-item{{ class_active }}">
 | 
					                        <div class="carousel-item{{ class_active }}">
 | 
				
			||||||
                            <img class="d-block" src="{{ media_item.resize(540, 400).quality(75).url }}">
 | 
					                            <img alt="Bild der Slideshow zur Reitanlage." class="d-block" src="{{ media_item.resize(540, 400).quality(75).url }}">
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                    {% endfor %}
 | 
					                    {% endfor %}
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
| 
						 | 
					@ -49,7 +49,7 @@
 | 
				
			||||||
            {% if news_latest.media.images %}
 | 
					            {% if news_latest.media.images %}
 | 
				
			||||||
                {% set text_class = 'col-12 col-md-9' %}
 | 
					                {% set text_class = 'col-12 col-md-9' %}
 | 
				
			||||||
                <div class="col-12 col-md-3">
 | 
					                <div class="col-12 col-md-3">
 | 
				
			||||||
                    <img width="100%" src="{{ news_latest.media.images|first.quality(25).url }}">
 | 
					                    <img alt="Titelbild der letzten News." width="100%" src="{{ news_latest.media.images|first.quality(25).url }}">
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            {% endif %}
 | 
					            {% endif %}
 | 
				
			||||||
            <div class="{{ text_class }}">
 | 
					            <div class="{{ text_class }}">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -47,7 +47,7 @@
 | 
				
			||||||
                        <a href="/" class="col-12">
 | 
					                        <a href="/" class="col-12">
 | 
				
			||||||
                            {% include 'partials/logo.html.twig' with {style: 'filter: invert(100%); margin-right: 0.5rem;'} %}
 | 
					                            {% include 'partials/logo.html.twig' with {style: 'filter: invert(100%); margin-right: 0.5rem;'} %}
 | 
				
			||||||
                            {% for media_item in header_page.media.images %}
 | 
					                            {% for media_item in header_page.media.images %}
 | 
				
			||||||
                                <img src="{{ media_item.quality(15).url }}" />
 | 
					                                <img alt="Eines der Bilder im Seiten-Header." src="{{ media_item.quality(15).url }}" />
 | 
				
			||||||
                            {% endfor %}
 | 
					                            {% endfor %}
 | 
				
			||||||
                        </a>
 | 
					                        </a>
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
{% if logo %}
 | 
					{% if logo %}
 | 
				
			||||||
    {% set logo_file = (logo|first).name %}
 | 
					    {% set logo_file = (logo|first).name %}
 | 
				
			||||||
    <img {{ style }} src="{{ url('theme://images/logo/' ~ logo_file) }}" />
 | 
					    <img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo/' ~ logo_file) }}" />
 | 
				
			||||||
{% else %}
 | 
					{% else %}
 | 
				
			||||||
    <img {{ style }} src="{{ url('theme://images/logo.svg') }}" />
 | 
					    <img {{ style }} alt="The logo of the webpage" src="{{ url('theme://images/logo.svg') }}" />
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue