Skip to content

Commit

Permalink
Merge pull request #8576 from alphagov/secondary-nav-aria-label-fixes
Browse files Browse the repository at this point in the history
Further accessibility improvements to secondary navigation usage
  • Loading branch information
ryanb-gds authored Dec 4, 2023
2 parents 0f309b0 + 6d678d0 commit a799e52
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/get_involved/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</p>

<%= render "components/secondary_navigation", {
aria_label: "Get involved tabs",
aria_label: "Get involved navigation",
items: [
{
label: "Get involved",
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/take_part_pages/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= render "components/secondary_navigation", {
aria_label: "Get involved tabs",
aria_label: "Get involved navigation",
items: [
{
label: "Get involved",
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/topical_event_about_pages/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="govuk-!-margin-bottom-8">
<%= render "components/secondary_navigation", {
aria_label: "Topical Events tabs",
aria_label: "Topical Events navigation",
items: topical_event_nav_items(@topical_event, request.path),
} %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/topical_event_featurings/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div class="govuk-!-margin-bottom-8">
<%= render "components/secondary_navigation", {
aria_label: "Document tabs",
aria_label: "Document navigation",
items: secondary_navigation_tabs_items(@topical_event, request.path),
} %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/topical_event_organisations/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="govuk-!-margin-bottom-8">
<%= render "components/secondary_navigation", {
aria_label: "Document tabs",
aria_label: "Topical Event navigation",
items: secondary_navigation_tabs_items(@topical_event, request.path),
} %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/topical_events/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="govuk-!-margin-bottom-8">
<%= render "components/secondary_navigation", {
aria_label: "Topical Events tabs",
aria_label: "Topical Events navigation",
items: topical_event_nav_items(@topical_event, request.path),
} %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/components/docs/secondary_navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ shared_accessibility_criteria:
examples:
default:
data:
aria_label: Document tabs
aria_label: Document navigation
items:
- label: Document
href: government/admin/editions/:id"
Expand Down

0 comments on commit a799e52

Please sign in to comment.