Added accessibility claim

This commit is contained in:
2025-11-29 12:31:16 +01:00
parent bc3e678e25
commit 61e370600f
6 changed files with 121 additions and 1 deletions

View File

@@ -194,6 +194,12 @@ public class HomeController : Controller
return RedirectToAction("Index", "Home");
}
[HttpGet("Accessibility")]
public ActionResult Accessibility()
{
return View();
}
[HttpGet("AccessDenied")]
public ActionResult AccessDenied()
{

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, ...</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, ...</value>
</resheader>
<data name="Accessibility" xml:space="preserve">
<value>Barrierefreiheit</value>
</data>
<data name="PageIntro" xml:space="preserve">
<value>Am {0} entspricht sämtlicher Inhalt im Projekt LD-Reborn/HAM den Web Content Accessibility Guidelines 2.2 unter {1}. Konformitätsstufe Triple-A.</value>
</data>
<data name="ReliesUpon" xml:space="preserve">
<value>Die Technologie, auf die sich dieser Inhalt "<a>stützt</a>", ist:</value>
</data>
<data name="UsesButNotReliesUpon" xml:space="preserve">
<value>Die Technologien, die dieser Inhalt <strong>verwendet, jedoch nicht voraussetzt</strong>, sind:</value>
</data>
<data name="TestedWith" xml:space="preserve">
<value>Dieser Inhalt wurde mit den folgenden User Agents und Assistenztechnologien getestet:</value>
</data>
<data name="Features" xml:space="preserve">
<value>Diese Seite enthält sowohl <span property="accessMode" content="textual">Text</span>
als auch <span property="accessMode" content="visual">Bilder</span>.
<span property="accessibilityFeature" content="alternativeText">Alternativtexte</span> sind für alle Bilder enthalten, und <span
property="accessibilityFeature" content="longDescription">ausführliche Beschreibungen</span> werden für Bilder bereitgestellt, die mehr als einfachen Alternativtext erfordern. Sämtliche Inhalte sind in Textform verfügbar und können von Assistenztechnologien ausgelesen werden.</value>
</data>
<data name="OnWith" xml:space="preserve">
<value>{0} mit {1} und {2}</value>
</data>
</root>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, ...</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, ...</value>
</resheader>
<data name="Accessibility" xml:space="preserve">
<value>Accessibility</value>
</data>
<data name="PageIntro" xml:space="preserve">
<value>On {0}, all content available in the project LD-Reborn/HAM conforms to Web Content Accessibility Guidelines 2.2 at {1}. Triple-A conformance.</value>
</data>
<data name="ReliesUpon" xml:space="preserve">
<value>The technology that this content "<a>relies upon</a>" is:</value>
</data>
<data name="UsesButNotReliesUpon" xml:space="preserve">
<value>The technologies that this content "<strong>uses but does not rely
upon</strong>" are:</value>
</data>
<data name="TestedWith" xml:space="preserve">
<value>This content was tested using the following user agents and assistive
technologies:</value>
</data>
<data name="Features" xml:space="preserve">
<value>This page includes both <span property="accessMode" content="textual">text</span>
and <span property="accessMode" content="visual">images</span>.
<span property="accessibilityFeature" content="alternativeText">Alternative
text</span> is included for all image content and <span
property="accessibilityFeature" content="longDescription">long
descriptions</span> are also provided for images that require more
than simple alternate text. All content is available in text, which
can be accessed by assistive technology.</value>
</data>
<data name="OnWith" xml:space="preserve">
<value>{0} on {1} with {2}</value>
</data>
</root>

View File

@@ -37,6 +37,9 @@
<data name="Login" xml:space="preserve">
<value>Anmelden</value>
</data>
<data name="Accessibility" xml:space="preserve">
<value>Barrierefreiheit</value>
</data>
<data name="Select location" xml:space="preserve">
<value>Ort auswählen</value>
</data>

View File

@@ -0,0 +1,22 @@
@using Microsoft.AspNetCore.Html
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer T
@{
ViewData["Title"] = T["Accessibility"];
}
<div typeof="WebPage" vocab="http://schema.org/">
<p property="accessibilitySummary">@T["PageIntro",
"28 November 2025",
new HtmlString("<a href=\"https://www.w3.org/TR/2024/REC-WCAG22-20241212/\">https://www.w3.org/TR/2024/REC-WCAG22-20241212/</a>")
])
</p>
<ul>
<li>@T["ReliesUpon"]
HTML 5.</li>
<li>@T["UsesButNotReliesUpon"] CSS2.1, gif.</li>
<li>@T["TestedWith"] @T["OnWith", "Firefox 145.0.2", "Kubuntu", "Orca"]
</li>
</ul>
<p>@T["Features"]</p>
</div>

View File

@@ -136,7 +136,8 @@
<footer class="border-top footer text-muted">
<div class="container">
&copy; 2025 - Berufsschule_HAM
&copy; 2025 - Berufsschule_HAM |
<a asp-controller="Home" asp-action="Accessibility">@T["Accessibility"]</a>
</div>
</footer>