diff --git a/CHANGELOG.md b/CHANGELOG.md index 9efb6e88..4425c155 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.7.5 - 2024-08 +- (Dan) Adds message for screenreaders for guidance on how to use tables [Gh-405](https://github.com/epimorphics/ukhpi/issues/405) - (Dan) Fixed aria-label in compare locations form [GH-416](https://github.com/epimorphics/ukhpi/issues/416) - (Dan) Adds `aria-label` link attributes on the about page to SPARQL link [GH-413](https://github.com/epimorphics/ukhpi/issues/413) diff --git a/app/javascript/components/data-view.vue b/app/javascript/components/data-view.vue index 570e3c15..d9d17ea2 100644 --- a/app/javascript/components/data-view.vue +++ b/app/javascript/components/data-view.vue @@ -3,7 +3,7 @@
-
+
+
diff --git a/config/locales/cy.yml b/config/locales/cy.yml index b2f94200..08d758a1 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -178,6 +178,7 @@ cy: print_table: "argraffu’r tabl hwn" download_data_as: "Lawrlwytho’r data hwn fel:" choose_another_location: "Dewiswch leoliad arall" + accessibility_tabpanel: "Mae gan y bwrdd strwythur anarferol. Defnyddiwch yr ail dab yn y tablydd o'r enw 'Gweler tabl data' am ddata sydd mewn fformat hygyrch." graph: no_data: "Mae’n flin gennym, nid yw data %{label} ar gael ar gyfer %{location}. Dewiswch leoliad gwahanol." diff --git a/config/locales/en.yml b/config/locales/en.yml index cc62c965..16427058 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -178,6 +178,7 @@ en: print_table: "print this table" download_data_as: "Download this data as:" choose_another_location: "Choose another location" + accessibility_tabpanel: "The table has an unusual structure. Please use the second tab in the tablist named 'See data table' for data that is in an accessible format." graph: no_data: "Sorry, there is no %{label} data available for %{location}. Please select a different location."