diff --git a/CHANGELOG.md b/CHANGELOG.md index 95ddcfd..ff5df7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Add link in readme to github mirror - Fix tables unable to sort on empty dates - Only show historical ammo type information when displaying "Show used" +- Fix even more accessibility issues # v0.8.4 - Improve accessibility diff --git a/lib/cannery_web/components/ammo_group_table_component.ex b/lib/cannery_web/components/ammo_group_table_component.ex index fb5459a..6408ce9 100644 --- a/lib/cannery_web/components/ammo_group_table_component.ex +++ b/lib/cannery_web/components/ammo_group_table_component.ex @@ -51,7 +51,7 @@ defmodule CanneryWeb.Components.AmmoGroupTableComponent do if actions == [] do [] else - [%{label: nil, key: :actions, sortable: false}] + [%{label: gettext("Actions"), key: :actions, sortable: false}] end columns = [ diff --git a/lib/cannery_web/components/ammo_type_table_component.ex b/lib/cannery_web/components/ammo_type_table_component.ex index ec36e76..f362e6e 100644 --- a/lib/cannery_web/components/ammo_type_table_component.ex +++ b/lib/cannery_web/components/ammo_type_table_component.ex @@ -118,7 +118,7 @@ defmodule CanneryWeb.Components.AmmoTypeTableComponent do ) |> Kernel.++([ %{label: gettext("Average CPR"), key: :avg_price_paid, type: :avg_price_paid}, - %{label: nil, key: "actions", type: :actions, sortable: false} + %{label: gettext("Actions"), key: "actions", type: :actions, sortable: false} ]) round_counts = ammo_types |> Ammo.get_round_count_for_ammo_types(current_user) diff --git a/lib/cannery_web/components/container_table_component.ex b/lib/cannery_web/components/container_table_component.ex index 86379ff..1005aba 100644 --- a/lib/cannery_web/components/container_table_component.ex +++ b/lib/cannery_web/components/container_table_component.ex @@ -64,7 +64,7 @@ defmodule CanneryWeb.Components.ContainerTableComponent do %{label: gettext("Packs"), key: :packs, type: :integer}, %{label: gettext("Rounds"), key: :rounds, type: :integer}, %{label: gettext("Tags"), key: :tags, type: :tags}, - %{label: nil, key: :actions, sortable: false, type: :actions} + %{label: gettext("Actions"), key: :actions, sortable: false, type: :actions} ]) extra_data = %{ diff --git a/lib/cannery_web/components/core_components/topbar.html.heex b/lib/cannery_web/components/core_components/topbar.html.heex index a77e281..82a1523 100644 --- a/lib/cannery_web/components/core_components/topbar.html.heex +++ b/lib/cannery_web/components/core_components/topbar.html.heex @@ -1,4 +1,4 @@ -