mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Consistency and accessibility: one date/time format, lang, skip link, focus outlines, alt text, labelled icons, contrast; release notes updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
191eb030e8
commit
215efe6814
56 files changed
+146
-97
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="h-full bg-page">
|
||||
<html lang="en" class="h-full bg-page">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<%= render "shared/theme_script" %>
|
||||
@@ -21,6 +21,7 @@
|
||||
</head>
|
||||
|
||||
<body class="min-h-full text-slate-800" data-controller="offline-sync">
|
||||
<a href="#main" class="skip-link">Skip to content</a>
|
||||
<div class="hidden space-y-1 bg-amber-50 px-4 py-2 text-center text-sm text-amber-900 ring-1 ring-amber-200" data-offline-sync-target="banner" role="status"></div>
|
||||
<header class="bg-header text-white">
|
||||
<div class="mx-auto flex max-w-7xl items-center justify-between gap-4 px-4 py-3">
|
||||
@@ -77,7 +78,7 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="mx-auto max-w-7xl px-4 py-6">
|
||||
<main id="main" tabindex="-1" class="mx-auto max-w-7xl px-4 py-6 focus:outline-none">
|
||||
<%= render "shared/flash" %>
|
||||
<%= yield %>
|
||||
</main>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="h-full bg-page">
|
||||
<html lang="en" class="h-full bg-page">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<%= render "shared/theme_script" %>
|
||||
@@ -18,10 +18,11 @@
|
||||
<%= javascript_importmap_tags %>
|
||||
</head>
|
||||
<body class="min-h-full text-slate-800">
|
||||
<a href="#main" class="skip-link">Skip to content</a>
|
||||
<header class="bg-header text-white">
|
||||
<div class="mx-auto flex max-w-7xl items-center justify-between px-4 py-3"><span class="font-semibold"><span class="text-xl">✈</span> Simple Aircraft Manager</span><%= render "shared/theme_toggle" %></div>
|
||||
</header>
|
||||
<main class="mx-auto max-w-7xl px-4 py-6">
|
||||
<main id="main" tabindex="-1" class="mx-auto max-w-7xl px-4 py-6 focus:outline-none">
|
||||
<%= render "shared/flash" %>
|
||||
<%= yield %>
|
||||
</main>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="bg-white" data-theme="light">
|
||||
<html lang="en" class="bg-white" data-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><%= [content_for(:title), "Simple Aircraft Manager"].compact.join(" · ") %></title>
|
||||
|
||||
Reference in new issue
Block a user