Remove superfluous alt texts

Decorative images should provide an empty alt text for assistive technologies.
This commit is contained in:
Philipp Ahrendt
2024-12-16 11:40:26 +01:00
parent 109cc73f89
commit b3ed25fc78
5 changed files with 9 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Remove superfluous alt text for decorative images

View File

@@ -16,11 +16,9 @@
"downloadButton": "Neueste Version herunterladen"
},
"communityTitle": "Community Support",
"communityIconAlt": "Community Support Icon",
"communityInfo": "Das SCM-Manager Support-Team steht für allgemeine Fragen, die Meldung von Fehlern sowie Anfragen für Features gerne für Sie über die offiziellen Kanäle bereit.",
"communityButton": "Unser Team kontaktieren",
"enterpriseTitle": "Enterprise Support",
"enterpriseIconAlt": "Enterprise Support Icon",
"enterpriseInfo": "Sie benötigen Unterstützung bei der Integration von SCM-Manager in Ihre Prozesse, bei der Anpassung des Tools auf Ihre Anforderungen oder einfach ein Service Level Agreement (SLA)?",
"enterprisePartner": "Treten Sie mit unserem Entwicklungs-Partner Cloudogu in Kontakt! Das Team freut sich auf den Austausch über Ihre individuellen Anforderungen und erstellt Ihnen gerne ein maßgeschneidertes Angebot.",
"enterpriseLink": "https://platform.cloudogu.com/de/support/",

View File

@@ -16,11 +16,9 @@
"downloadButton": "Get Latest Version"
},
"communityTitle": "Community Support",
"communityIconAlt": "Community Support Icon",
"communityInfo": "Contact the SCM-Manager support team for questions about SCM-Manager, to report bugs or to request features through the official channels.",
"communityButton": "Contact Our Team",
"enterpriseTitle": "Enterprise Support",
"enterpriseIconAlt": "Enterprise Support Icon",
"enterpriseInfo": "You require support with the integration of SCM-Manager into your processes, with the customization of the tool or simply a service level agreement (SLA)?",
"enterprisePartner": "Contact our development partner Cloudogu! Their team is looking forward to discussing your individual requirements with you and will be more than happy to give you a quote.",
"enterpriseLink": "https://platform.cloudogu.com/en/support/",

View File

@@ -10,11 +10,9 @@
"title": "Administración",
"currentAppVersion": "Versión actual de la aplicación",
"communityTitle": "Soporte de la comunidad",
"communityIconAlt": "Icono del soporte de la comunidad",
"communityInfo": "Contacte con el equipo de soporte de SCM-Manager para questiones acerca de SCM-Manager, para informar de errores o pedir nuevas funcionalidades use los canales oficiales.",
"communityButton": "Contactar con nuestro equipo",
"enterpriseTitle": "Soporte empresarial",
"enterpriseIconAlt": "Icono del soporte para empresas",
"enterpriseInfo": "¿Necesita ayuda para la integración de SMC-Manager en sus procesos, con la personalización de la herramienta o simplemente un acuerdo de nivel de servicio (SLA)?",
"enterprisePartner": "Póngase en contacto con nuestro socio de desarrollo Cloudogu! Su equipo está esperando para tratar sus requisitos con usted y estará encantado de darle un presupuesto.",
"enterpriseLink": "https://platform.cloudogu.com/en/support/",

View File

@@ -17,9 +17,9 @@
import React, { FC } from "react";
import { useTranslation } from "react-i18next";
import styled from "styled-components";
import { devices, ErrorNotification, Image, Loading, Subtitle, Title } from "@scm-manager/ui-components";
import { devices } from "@scm-manager/ui-components";
import { useUpdateInfo, useVersion } from "@scm-manager/ui-api";
import { useDocumentTitle } from "@scm-manager/ui-core";
import { ErrorNotification, Image, Loading, Subtitle, Title, useDocumentTitle } from "@scm-manager/ui-core";
const BoxShadowBox = styled.div`
box-shadow: 0 2px 3px rgba(40, 177, 232, 0.1), 0 0 0 2px rgba(40, 177, 232, 0.2);
@@ -59,7 +59,7 @@ const AdminDetails: FC = () => {
<BoxShadowBox className="box">
<MobileWrapped className="media">
<ImageWrapper className="media-left image is-96x96">
<Image src="/images/blib.jpg" alt={t("admin.info.logo")} />
<Image src="/images/blib.jpg" alt="" />
</ImageWrapper>
<div className="media-content">
<div className="content">
@@ -82,14 +82,14 @@ const AdminDetails: FC = () => {
return (
<>
<Title title={t("admin.info.title")} />
<Subtitle className="mb-1" subtitle={t("admin.info.currentAppVersion")} />
<Title>{t("admin.info.title")}</Title>
<Subtitle className="mb-1">{t("admin.info.currentAppVersion")}</Subtitle>
<div className="mb-5">{version}</div>
{updateInfo ? renderUpdateInfo() : null}
<BoxShadowBox className="box">
<MobileWrapped className="media">
<ImageWrapper className="media-left">
<Image src="/images/iconCommunitySupport.png" alt={t("admin.info.communityIconAlt")} />
<Image src="/images/iconCommunitySupport.png" alt="" />
</ImageWrapper>
<div className="media-content">
<div className="content">
@@ -110,7 +110,7 @@ const AdminDetails: FC = () => {
<BoxShadowBox className="box">
<MobileWrapped className="media">
<ImageWrapper className="media-left">
<Image src="/images/iconEnterpriseSupport.png" alt={t("admin.info.enterpriseIconAlt")} />
<Image src="/images/iconEnterpriseSupport.png" alt="" />
</ImageWrapper>
<div className="media-content">
<div className="content">