Active
Project:
Drupal core
Version:
main
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2019 at 15:16 UTC
Updated:
26 Feb 2025 at 14:31 UTC
Jump to comment: Most recent
This was discovered in #3023242: Pagination/Pager style update. In this issue, the global pager styling is being restyled, including the arrows for First/Previous/Next/Last.
However, many default views configurations add their own arrows, which will appear alongside any theme-provided arrows
Views config

Claro and views arrows

This is being worked around in Claro by filtering the arrow characters in Twig, but this isn't particularly sustainable. It is preferable to find a solution that allows themes to more easily override pager arrows.
Not sure yet.
Determine best approach
TBD
TBD
TBD
TBD
Comments
Comment #3
martijn.cuppens commentedImo, the arrows are design elements and should be removed from the translation strings globally.
Comment #4
pcate commentedI agree, the pager arrows are things I always have the override in custom themes. Having the arrows as text characters by default alongside legitimate text always makes this harder than it needs to be.
The current way may also have a11y issues, since I believe the arrow text characters are read by screen readers.
While I'm sure it would depend how the fix for this issue is implemented, changing the defaults would affect all current themes that don't override the pager. Would this be considered a BC because of that? If so, getting this resolved for D9 would be ideal.
Comment #5
martijn.cuppens commentedI've tested this, this is not the case in Chromium.
This is definitely a BC, custom translations will not be applied anymore.
Comment #13
johnvThis better is Feature request, or even a Bug report.
Comment #14
mgiffordAccessibility issues are bugs.