mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-13 16:17:46 +00:00
- Remove disruptive alert() on error pages, rely on role="alert" banner - Add skip navigation link for keyboard users (WCAG 2.4.1) - Fix heading hierarchy on error page (sr-only status text in h1) - Add "opens in a new tab" screen reader hint on external links - Wrap language selector in form with noscript submit button (WCAG 3.2.2) - Add aria-label to copy-to-clipboard buttons and footer landmarks - Use h2 for alt-IP section to maintain single h1 per page - Add persistent underline on links for non-color identification (WCAG 1.4.1) - Fix footer attribution contrast ratio to ~5.5:1 (WCAG 1.4.3) - Add aria-busy/role=status loading announcements for skeleton state - Add translations for new accessibility strings across all 14 locales - Update integration tests to assert role="alert" instead of alert()
16 lines
597 B
HTML
16 lines
597 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ status_code }} {{ status_text }} - {{ site_domain }}{% endblock %}
|
|
|
|
{% block head_meta %}
|
|
<meta name="robots" content="noindex, nofollow">
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="error-page">
|
|
<h1 class="error-code">{{ status_code }}<span class="sr-only"> - {{ status_text }}</span></h1>
|
|
<p class="error-status" aria-hidden="true">{{ status_text }}</p>
|
|
<p class="error-detail">{{ error_message }}</p>
|
|
<a href="/{{ locale.tag() }}" class="error-home-link">{{ "Go to Home"|t(locale) }}</a>
|
|
</div>
|
|
{% endblock %} |