diff --git a/src/Controllers/HomeController.cs b/src/Controllers/HomeController.cs index 1ee3513..32d565c 100644 --- a/src/Controllers/HomeController.cs +++ b/src/Controllers/HomeController.cs @@ -194,6 +194,12 @@ public class HomeController : Controller return RedirectToAction("Index", "Home"); } + [HttpGet("Accessibility")] + public ActionResult Accessibility() + { + return View(); + } + [HttpGet("AccessDenied")] public ActionResult AccessDenied() { diff --git a/src/Resources/Views.Home.Accessibility.de.resx b/src/Resources/Views.Home.Accessibility.de.resx new file mode 100644 index 0000000..28c97e6 --- /dev/null +++ b/src/Resources/Views.Home.Accessibility.de.resx @@ -0,0 +1,41 @@ + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, ... + + + System.Resources.ResXResourceWriter, System.Windows.Forms, ... + + + + Barrierefreiheit + + + + Am {0} entspricht sämtlicher Inhalt im Projekt LD-Reborn/HAM den Web Content Accessibility Guidelines 2.2 unter {1}. Konformitätsstufe Triple-A. + + + Die Technologie, auf die sich dieser Inhalt "stützt", ist: + + + Die Technologien, die dieser Inhalt verwendet, jedoch nicht voraussetzt, sind: + + + Dieser Inhalt wurde mit den folgenden User Agents und Assistenztechnologien getestet: + + + Diese Seite enthält sowohl Text + als auch Bilder. + Alternativtexte sind für alle Bilder enthalten, und ausführliche Beschreibungen 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. + + + {0} mit {1} und {2} + + diff --git a/src/Resources/Views.Home.Accessibility.en.resx b/src/Resources/Views.Home.Accessibility.en.resx new file mode 100644 index 0000000..1372b67 --- /dev/null +++ b/src/Resources/Views.Home.Accessibility.en.resx @@ -0,0 +1,47 @@ + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, ... + + + System.Resources.ResXResourceWriter, System.Windows.Forms, ... + + + + Accessibility + + + + On {0}, all content available in the project LD-Reborn/HAM conforms to Web Content Accessibility Guidelines 2.2 at {1}. Triple-A conformance. + + + The technology that this content "relies upon" is: + + + The technologies that this content "uses but does not rely + upon" are: + + + This content was tested using the following user agents and assistive + technologies: + + + This page includes both text + and images. + Alternative + text is included for all image content and long + descriptions 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. + + + {0} on {1} with {2} + + diff --git a/src/Resources/Views.Shared._Layout.de.resx b/src/Resources/Views.Shared._Layout.de.resx index b34100c..2d81a04 100644 --- a/src/Resources/Views.Shared._Layout.de.resx +++ b/src/Resources/Views.Shared._Layout.de.resx @@ -37,6 +37,9 @@ Anmelden + + Barrierefreiheit + Ort auswählen diff --git a/src/Views/Home/Accessibility.cshtml b/src/Views/Home/Accessibility.cshtml new file mode 100644 index 0000000..450b45e --- /dev/null +++ b/src/Views/Home/Accessibility.cshtml @@ -0,0 +1,22 @@ +@using Microsoft.AspNetCore.Html +@using Microsoft.AspNetCore.Mvc.Localization +@inject IViewLocalizer T +@{ + ViewData["Title"] = T["Accessibility"]; +} + +
+

@T["PageIntro", + "28 November 2025", + new HtmlString("https://www.w3.org/TR/2024/REC-WCAG22-20241212/") + ]) +

+ +

@T["Features"]

+
\ No newline at end of file diff --git a/src/Views/Shared/_Layout.cshtml b/src/Views/Shared/_Layout.cshtml index 713d818..7369604 100644 --- a/src/Views/Shared/_Layout.cshtml +++ b/src/Views/Shared/_Layout.cshtml @@ -136,7 +136,8 @@