From bd8a825138d723f682596eefac735ef8f0bdc22c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Jan 2020 20:26:15 +0100 Subject: [PATCH] Add aria labels where needed, commit 1 of many (#37) --- templates/_checked_in.html.ep | 12 ++++++------ templates/edit_journey.html.ep | 2 +- templates/journey.html.ep | 6 +++--- templates/landingpage.html.ep | 2 +- templates/layouts/default.html.ep | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 7e9bfd0..193657f 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -218,12 +218,12 @@
% if ($journey->{arr_name}) { - comment Kommentar + Kommentar % } % else { - undo Checkin Rückgängig + Checkin Rückgängig % } % if (defined $journey->{arrival_countdown} and $journey->{arrival_countdown} <= 0) { @@ -252,7 +252,7 @@ data-url="<%= url_for('/status')->to_abs->scheme('https') %>/<%= current_user->{name} %>/<%= $journey->{sched_departure}->epoch %>" % } > - share Teilen + Teilen % }
@@ -273,9 +273,9 @@
% my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; - timeline Zuglauf + timeline Zuglauf % if ($journey->{extra_data}{trip_id}) { - map Karte + Karte % }
@@ -311,7 +311,7 @@
- undo Checkin Rückgängig + Checkin Rückgängig
diff --git a/templates/edit_journey.html.ep b/templates/edit_journey.html.ep index ff36381..0eb8a99 100644 --- a/templates/edit_journey.html.ep +++ b/templates/edit_journey.html.ep @@ -108,7 +108,7 @@
diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 74ad962..3a27194 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -231,7 +231,7 @@ %= form_for '/journey/edit' => (method => 'POST') => begin %= hidden_field 'journey_id' => param('journey_id') %= end @@ -242,7 +242,7 @@ %= form_for '/journey/edit' => (method => 'POST') => begin %= hidden_field 'journey_id' => param('journey_id') %= end @@ -252,7 +252,7 @@ data-id="<%= $journey->{id} %>" data-checkin="<%= $journey->{checkin}->epoch %>" data-checkout="<%= $journey->{checkout}->epoch %>"> - delete_forever + Löschen diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index fd71f9c..8cbcdde 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -59,7 +59,7 @@
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 73c3440..65acccf 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -89,14 +89,14 @@
  • - invert_colors + invert_colors
  • % if (is_user_authenticated()) { - - + + % } % else { - + % }