From: Tom Hughes Date: Thu, 20 Aug 2026 21:17:36 +0000 (+0100) Subject: Add labels to nav elements and enable html-navigation-has-label (#7336) X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain?ds=inline Add labels to nav elements and enable html-navigation-has-label (#7336) --- diff --git a/.herb.yml b/.herb.yml index 43d0f7e92..4ed90c978 100644 --- a/.herb.yml +++ b/.herb.yml @@ -28,6 +28,8 @@ linter: enabled: false erb-strict-locals-required: enabled: true + html-navigation-has-label: + enabled: true html-no-space-in-tag: enabled: true html-no-title-attribute: diff --git a/app/views/application/_pagination.html.erb b/app/views/application/_pagination.html.erb index 6b827708b..5c0a3d6a7 100644 --- a/app/views/application/_pagination.html.erb +++ b/app/views/application/_pagination.html.erb @@ -3,7 +3,7 @@ <% if paginator.older_items_cursor || paginator.newer_items_cursor %> <% translation_scope ||= "application.pagination.#{controller.controller_name}" %> -